Recording sound without Flash Media Server?

Hello,
I am totally new to Flash Media Server I need to be able to record sound via a Flash app and save it to a server preferably without the use of a Flash Media Server type setup. There is no requirement for live streaming.
Is it possible to record the sound and save in memory then pass the data/file as a query parameter to the server?
I don't even know if I've posted this in the correct place... any help/guidance will be appreciated.
Thanks.

Hi,
You can use any publisher to publish like FMLE and publish the streams to the application in applications folder suppose application name is sampleApp then create a folder in applications folder of FMS root directory and then keep the below mains.asc file which does the recording of published streams to the sampleApp application.
//main.asc
application.onConnect=function(clientObj)
return true;
application.onPublish = function(clientObj,streamObj){
  trace("in application publish");
  streamObj.record("record");
application.onUnpublish = function(clientObj,streamObj){
trace("on unpublish");
streamObj.record(false);
I think this should solve your problem.
Regards,
Amit

Similar Messages

  • Streaming live audio without flash media server

         I have an mp3 player, that I would like to add live streams to.
    here is an example url of what I'd like to stream. http://85.17.174.181:6968
    is there a way to do that in flash AS3?

    >>don't tell me I need the server to include me in their cross-domain policy???
    Always... servers that allow public access will typically have a wildcarded cross domain though. And in that case you just need to tell the sound load to check the policy file using SoundLoaderContext like so:
    var context:SoundLoaderContext = new SoundLoaderContext(100, true);
    var a:Sound = new Sound();
    a.load(new URLRequest("http://85.17.174.181:6968/"), context);
    a.play();
    It doesn't look they have a crossdomain.xml file in place though...

  • Record playback is very slow between Flash Media Server and Flash

    hi all
    I have done server side recording successfully with red5 flash media server and can see
    that the flv record is being created properly.
    Then if I try to playback the record like
    NetStream.play("record.flv"), I see that stream playing is very very
    slow, for both of audio and video.
    And then if I try to playback the recorded file via using the
    filesystem path of it, everthing seems fine.
    Problem occurs when I try to sucscribe and play the stream of the record.
    PS : There is no problem with playing the published stream
    (NetStream.play("streamName"))
    Does anyone have an idea about this issue?
    If you need any additional information, please let me know.
    Thanks in advance
    Regards

    In a nutshell flowplayer delivers the video through your web
    browser. It does this via http protocol (port 80) and progressive
    download on any web server
    Progressive download finds the video on the server and plays
    it back through the player as it is being downloaded. 2 important
    things to take from this are 1, the video is being downloaded to
    the clients hard drive, at the end of the playback they will have a
    copy of your video that they can do whatever they like to and
    repost it somewhere else. 2, It plays back as it downloads, meaning
    if I'm viewing a 10 minute video from your site and want to skip
    ahead to the middle or end I have to wait for the whole video to
    download before viewing those segments. Your web host by the way
    will love you for progressive download because it will appear as
    though your transfer rate has gone through the roof. Once the
    request for the video is made there is no turning back, the client
    gets the whole thing whether they watch it or not.
    Flash media server uses the rtmp protocol. This protocol is
    an open socket protocol through port 1935. This is a two way street
    essentially. When the user views a video using FMS they basically
    get only enough of the video to keep the connection open and
    satisfy the required buffer to assure clean playback. The bytes of
    info that carry the video only go to the users memory, not the hard
    drive. This allows the user to jump back and forth around in the
    movie without having to wait for the whole thing to download.
    Hope that helps.

  • Is it possible to use smartseek functionalities without FMS(flash media server)??

    Hi,
        Is it possible to use smart seek functionalities to play files local files without using flash media server(FMS).
        I am currently using videoDisplay components but can switch to netStream component if it is possible without FMS.
        As I have to seek frame by frame but the current seek() function doesnot provide that functionality.
        Any kind of suggestion is most welcome.
        Thanks in Advance.

    I'd like to revive this topic as I just purchased an ATV. I do like it but I am becoming very familiar with the limitations of the ATV.
    I used to have a Snyology NAS server but it did not serve/stream the iTunes well enough to my stereo. I have a lot of photos of my children as well as movies and wanted to see more of them so I purchased the ATV as I knew the Syno server/NAS would be bricking soon.
    Once the ATV is loaded it is fine for that content. But if there is other content on other computers well, they have to stream and the content on the ATV is not accessible to anything other than the stereo or TV that the ATV is connected to. So, finally, here is my question:
    Which NAS streams VERY WELL with the ATV? Correct me if I am wrong but the NAS has to have iTunes imbedded within the server; yes? Secondly, is the best solution for serving an ATV as well as having all media content accessible to all LAN computers a Mac Mini?
    So which is it? Please recommend an NAS that can serve iTunes media (music, photos, video) to an Apple TV or is the best solution a Mac Mini which acts like a NAS and streams all media content to the Apple TV and ATV will stream it to HDTV through HDMI , etc.
    The ATV is great with the High Def.., wide screen, Dolby 5.1, HDMI port , etc. Just need a way to have the media accessible to everyone on the LAN as well as serve/stream to an already purchased Apple TV.
    Thanks for the help,
    Cc

  • Flash Media Server on IIS7.5 without Apache

    I am trying to install Flash Media Server on IIS7.5  without Apache.  Are there any Whitepapers or instructions on how to do this?  We are a IIS shop and want to avoid using apache if possible.

    Check this link : http://help.adobe.com/en_US/flashmediaserver/configadmin/WS02f7d8d4857b167770a4686812a808b 6918-8000.html

  • Live Streaming video and Flex2(3?) + Flash Media Server?

    I've seen alot of topic on how to create video sites for
    clips, etc. with Flex and Flash Media Server, but how about live
    streaming video, like a concert or a seminar. I can't find any
    information on this at all, could anyone point me in the right
    direction?

    What you need is grab video/sound form camera/mic, publish it
    on FMS and let the other clients play it. In a few steps:
    // get camera and mic
    var cam:Camera = Camera.getCamera(); // get default camera
    var mic:Microphone = Microphone.getMicrophone(); // get
    default mic
    // if you have VideoDisplay, for monitoring
    videoDisplay.attachCamera(cam);
    // create new RTMP connection to FMS/your app
    var nc:NetConnection = new NetConnection();
    // new stream should be create *after* nc has connected, not
    before
    // so this is executed after the below nc.connect() succeeds
    nc.attachEventListener(Event.CONNECT, function(){
    var ns:NetStream = new NetStream();
    ns.attachCamera(cam);
    ns.attachMicrophone(mic);
    ns.publish("streamname", "live"); // or "record" if you want
    to live+rec
    // connect to default instance of app 'appname' on your FMS
    nc.connect("rtmp://fms.ip.address/appname");
    If you're using Flex2 and FMS2 (the latest FMS is 3), you
    might need to
    cuange the connection encoding to AMF0 (which is what FMS2
    uses) in order for this to work.
    Hope this helps; I've written it from my head so it probably
    has mistakes, but it's the general workflow; the docs in the
    language reference for specific functions mentioned here will also
    help.

  • OPTIONS OTHER THAN FLASH MEDIA SERVER

    HELLO ALL,
    I am trying to create a webcam recorder, i would like to know
    if there is a way of doing this without the use of the flash media
    server or an online adobe server account.
    thanks in advance.

    There are two alternatives to FMS that I am aware of
    Red5 (
    http://osflash.org/red5)
    Wowza Media Server (
    http://www.wowzamedia.com)
    Both are java servers, and AFAIK neitherhas support for
    server side actionscript (you'd need to code in Java or one of the
    other supported scripting languages). Red5 is open source, Wowza is
    about half the price of FMS (the last time I checked).

  • Beginners guide to integrating Flash Media Server 2?

    I'm a newbit to Flasha dn flash media server and need some
    help with integrating the two products. We've just purchased Flash
    Media Server 2 to stream user created videos to a website. Idealy
    we would like to use the FlvPlayBack component placed on the stage
    to display the FLV file from the media server, but cannont get the
    component to access the FLV file.
    Media Server Configuration:
    On the Media Server we created an application (testapp) with
    an default instance (_definst_). The directory path for the
    Appliation looks like this W:\MediaApps\testapp\streams\_definst_\
    The name of the server is MediaServer
    The application and instance are appearing in the Media
    Server Admin manager.
    I've placed an FLV file (Movie.flv) In the _devinst_
    directory.
    Flash FLA file
    Placed FLVPlayback component on the stage
    Set contentpath= rtmp:\\MediaServer\testapp\_definst_\Movie
    Set islive=true
    When I test publish the file, the video does not display?
    Does anyone have any guidance on what I need to do? There
    seems to be a lack of documentation on integrating the media
    server. I looked a sample app called "SimplePB" that works, but
    does not use the FLVPlayback component.
    Any help would be appreciated.
    Thank you,
    John Wallwork

    John,
    For an FLV to stream from FMS, it must be placed in the
    streams/_definst_ directory...
    applications/myApplication/streams/_definst_/myFlv.flv
    Then you would type in the rtmp connection information in the
    contentPath of the FLVPlayback component like this
    rtmp://myRTMPConnectionInfo/myApplication/myFlv
    without the flv extension.
    The documentation comes from the FMS components when you
    install them.
    Here it is...
    To set up your FCS for streaming FLV files:
    Create a folder in your FCS application folder, and give it a
    name such as my_application.
    Copy the main.asc file into the my_application folder.
    Create a folder named streams in the my_application folder.
    Create a folder named _definst_ inside the streams folder.
    Place your FLV files in the _definst_ folder.
    To access your FLV files on the Flash Communication Server,
    use a URL such as rtmp://my_servername/my_application/stream.flv.
    For more information on administering the Flash Communication
    Server, including how to set up a live stream, see the FCS
    documentation at
    www.macromedia.com/support/documentation/en/flashcom/. When playing
    a live stream with FCS, you need to set the FLVPlayback property
    isLive to true. For more information, see FLVPlayback.isLive.
    Regards,
    Bill

  • Flash Media Server Update Process

    Hi all,
    I currently have Flash Media Server 3.5.0 installed and it has been running since 2009.  It has been running for so long without issues I kind of forgot about it.  Now i see there is an update to 3.5.7.  I downloaded it but when I ran the installer it warned me that all my configuration settings may be lost.  I tried to find some info on the best procedures to follow to perform the update but was unable to find much.  I really do not want to lose my settings.  I looked in the FMS admin console but i did not see any option to backup the current settings. 
    What is the best way to proceed with this update without losing your settings or negatively impacting the media server?

    Like Graeme Bull said in another related post : "You can keep up on that on the product manager's blog though http://blogs.adobe.com/ktowes/"

  • Audio not streaming correctly from Flash Media Server

    Our company has a Flex application (3.0.2) that is having a problem with audio dropping out in Windows 7.  The problem appears worse with a wireless connection, but it can’t be consistently reproduced there, either.  The only thing known for sure is that the problem has not been seen on any other version of Windows.
    The application thinks the audio is playing, because it is calling the appropriate event listeners triggered when the audio completes and when any audio cue points are hit.  The majority of our audio is streaming via Flash Media Server (3,0,2,201), but the problem was also seen using embedded sound effects.  In one instance, several clicks of a button triggered an error saying the sound effect could not be loaded, and then about a minute later, all the sound effects played at once and the user could then continue with the application.
    The problem has been repeated in IE 8, Firefox 3 and Chrome.

    Thanks for your details. But i need more info.
    Server:
    FMS      3.0.2 ?
    FMS installed in which platform Linux/windows? more details about it.
    Client:
    IE          7
    Flash Player version     ?
    WIndows 7
    Wireless connection - Was the client placed in poor bandwidth.
    Can you get the NetStream status info when u play the audio file.? We can check for the rebuffering happening at the client side.
    Can you run your audio file through flvCheck Tool to check if the media file is in good form. It is available at "\$Root|Flash Media Server\tools\flvcheck.exe"
    Now our intention should be to check the same media file with simpler application (since your production app is complicated) to ensure that the media streaming over 'client to server' is working fine.
    Regards,
    Janaki L

  • A User Count in a Flash Media Server Application

    hello guys, first of all, sorry for my english...
    i am making a flash media server application and i want users to see that how many users are currently connected to this application...
    i have searched on google for 2 days and i couldnt find a good tutorial for AS3.
    i have looked at fmsguru and some other tutorial websites but those wasn't enough for me to succes...
    what i am trying to make is; a text area or dynamic text (i dont know which is most suitable for this purpose) which shows the numbers of connected user and i want it change immediately when a user connects or disconnects...
    i know there is an array as "application.clients" and i know i should use "application.clients.length" in "main.asc" file to find the number of connected users BUT i can't get this number to the text area or dynamic text in my "swf file".
    PLEASE help me by explaining a simple application which uses a "main.asc" file, an "action script" file and a "swf" file. and how to get the number of "application.clients.length", how to send (or call or get) it to the "action script" file, how to show this number in a text field or dynamic text...
    i will be very appreciated if someone explain in AS3 and make me success...
    thanks for reading...

    well here you don't even need the button just tell your textfield to update everytime the server calls after a connection or disconnection. Do you know how to write actionscript at all? Because you would be well advised not to attempt media server stuff unless you know how to do the basics. Maybe you could start out with some client only applications.
    import mx.controls.TextArea;
    import mx.controls.Button;
    import mx.utils.Delegate;
    class SimpleChat_call extends MovieClip {
    private var myTextArea:TextArea;
    private var myButton:Button;
    private var _nc:NetConnection;
    private var _chatSO:SharedObject;
    private function onLoad() {
    myButton.addEventListener("click", Delegate.create(this, onUserCount));
    public function connect( rtmpString:String) {
    _nc = new NetConnection();
    _nc.owner = this;
    _nc.onStatus = function ( info ) {
    if(info.code == "NetConnection.Connect.Success") {
    trace("connected successfully");
    this.owner.connectSO( this );
    _nc.receiveUsercount = function (count) {
    var myTextArea = this.owner.myTextArea;
    myTextArea.text = count;
    _nc.connect(rtmpString);
    private function connectSO( nc ) {
    _chatSO.connect( nc );
    you didn't even try what i suggested did you because it would have worked without changing the client

  • Flash Media Server and Red 5 server

    Hi Folks...
    This may sound a little off topic, but please bear with me. I would like to know if it is possible to run Action Script
    Communication Files(.asc) on an red 5 server, just like how a .asc
    file runs in the Flash Media Server. Hope someone can advise. Thanks.

    I dont think Red5 supports .asc file, it uses server-side javaScript however. You may like to check this page - http://red5.org/ticket/204

  • FLEX 2.0 and Flash Media Server 2.0 Unable to stream from client to server

    Hi All,
    I have been trying to put together a quick demo to stream
    and record audio from Client to Server. I get this error when
    trying to connect to FMS.
    ArgumentError: Error #2126: NetConnection object must be
    connected.
    at flash.net::NetStream/flash.net:NetStream::construct()
    at flash.net::NetStream$iinit()
    at Audio/toggle()
    at Audio/__submit_click()
    my Program fails at this line - ns = new NetStream(nc);
    Your help is greatly appreciated. Here is the MXML file
    Audio.mxml
    This file contains a simple start and stop button start and
    stop audio processing.
    This page is served from Apache Tomcat on host : demoserver1
    and port 8080
    Flash media server is also installed on the same host
    demoserver1.
    I did not do any additional config at FMS except creating an
    application called "DemoApp". All other settings are defaults.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    applicationComplete="startup()">
    <mx:Script>
    <![CDATA[
    import flash.net.NetConnection;
    import flash.net.NetStream;
    public var started:Boolean = false;
    public var nc:NetConnection;
    public var ns:NetStream;
    public var mp:Microphone;
    public function startup():void{
    lblMessage.text="Stopped";
    public function toggle():void{
    if (started==false){
    submit.label="Stop";
    started=true;
    lblMessage.text="Started";
    nc = new NetConnection();
    nc.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    securityErrorHandler);
    nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
    nc.connect("rtmp://demoserver1/DemoApp");
    ns = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    mp = Microphone.getMicrophone(0);
    ns.attachAudio(mp);
    ns.publish("sample1", "record");
    else{
    started=false;
    submit.label="Start";
    lblMessage.text="Stopped";
    ns.close();
    nc.close();
    private function netStatusHandler(event:NetStatusEvent):void
    switch (event.info.code) {
    case "NetConnection.Connect.Success":
    trace(" connection success : " );
    break;
    case "NetStream.Play.StreamNotFound":
    trace("Stream not found: " );
    break;
    private function
    securityErrorHandler(event:SecurityErrorEvent):void {
    trace("securityErrorHandler: " + event);
    ]]>
    </mx:Script>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400"
    height="300">
    <mx:HBox left="19" right="0" height="100" top="30">
    <mx:Label text="Label" id="lblMessage" width="150"/>
    <mx:Button label="Start" click="toggle()" id="submit"/>
    </mx:HBox>
    </mx:Canvas>
    </mx:Application>

    Hi,
    Are you trying to make an air app or a web application (flash) for streaming? You may want to check out the osmf framework to help you write a player for mobile platform. Check out http://www.opensourcemediaframework.com/ for more info on how you can write streaming video players using this framework. There are some good tutorials there and also you may post on the forum to get your specific queries solved.
    Thanks,
    Abhishek

  • Encoding to H.264 FLV: Flash Media Server Streaming

    Hi all,
    I've been hoping to find the magic Compressor settings which would allow me to compress a stream-able FLV on our Flash Media Server.
    I realize I can use the default QuickTime Export component to create an FLV, however this does not support distributive rendering/job segmenting. Currently I'm trying the 'QuickTime Movie' file format (last on the format list) without any luck.
    As QuickTime can produce a streamable FLV with the export component I'm figuring there HAS to be a way to manually configure Conpressor to do the same: Has anyone worked this out?
    Thanks for any assistance
    - Billy

    Related to my post above is it be possible to access and use the TrueMotion VP6 (Perian) format settings in Compressor? This format is also accessible through the QuickTime Export component option, and doing so would would both make the flash streams more compatible (w/ old players) and allow job segmenting.
    Thanks again for any thoughts ...
    - Billy

  • Questions before I buy Flash Media Server 2

    Hi! I'm considering buying Macromedia Flash Media Server 2.
    This software would be a large investment for me, so I'd really
    appreciate any answers or advice that anyone could provide. I just
    have a couple questions:
    1) Can FMS2 be installed on the same server that runs my Web
    sites? I have a Linux server that runs a few sites, and it would be
    ideal to run this software and the sites on the same server. I'm
    also wondering what port it would run on? I've used RealNetworks'
    Helix Server, which requires you to run it on a separate server
    because of port issues. I want to use Flash instead.
    2) Does this software also come with a Flash video player
    that would work with my sites? I want to be able to stream .flv
    videos from my Web sites and have a Flash player launch whenever a
    user selects one of my videos (kind of like how RealPlayer launches
    when you click a RM file). This way, the player wouldn't always be
    embedded in the page. Is that possible? I'm worried about the
    player failing to launch, or people needing to download a special
    player to view my videos.
    Thanks very much!

    1) Yes you can run it on the same box as your web server. You
    can specify any port you wish for FMS to listen on (default is
    1935)
    2) I'm not quite sure I understand. In order to view your
    videos a client will have to have a flash browser plugin installed
    - which should not be a problem as flash browser penetration is
    somewhere in the high 90th percentile (if Adobe is to believed). In
    addition, your flash application will need to make a connection to
    FMS before it can stream videos, so its not quite as simple as
    clicking on a .flv link. Your flash app will have to be embedded in
    a page (think youtube - although youtube does not use FMS).
    If you're not sure if FMS is right for you (and you sound
    like you're not sure), why don't you download the Developer edition
    and test it out? Its free and has all the features of the "full"
    version, but only gives you a license for 10 users.

Maybe you are looking for

  • Mail one click downloads

    Hi all, this problem first started in Mavericks but persists in Yosemite. (Yes it's a first world problem I know but would appreciate your inout anyway). When I am sent an attachement in Mail. I can move the mouse cursor to an area in the message whe

  • Uninstall then install problem

    OK. I decide to ask this question now befroe I get total frustration. I had problem since update with 6u2 (successful for 6u1). So I decide to clean up all Java related files (uninstall using the Windows Installer CleanUp Utility Installer, It was no

  • How to Create a Custom Color Chooser/Palette with 16 or 24bit Color Support

    Hi All, I need some help on how to create a color palette/chooser with 16 bit or 24 bit color options available First setting up the context: I am developing an application which allows designing some GUI screens by adding various controls. Now these

  • Widget not playing in PDF

    Hello, I'm using Captive 7.0.1.237 and when I publish my project as a PDF, the Wed Objects Interactive does not display the website. Does anyone know a fix for this? Thanks! Lindsay

  • Problems with photoshop and indesign on cc

    I just dowloaded the trial version of creative cloud CC, and frankly Im starting to regret it.  I keep getting an error message when I try and load photoshop and Indesign, it tells me that the application manager that I need to launch this is missing