Skip to main content
May 4, 2010
Question

Where are live streamed videos stored? That is to say, recorded.

  • May 4, 2010
  • 1 reply
  • 648 views

Hi there,

We are having a difficult time setting up FMS and getting it to work.

The latest problem we are having is with live streaming.  I have created a live stream called "liveteststream".  I embed a player in a page to see the live stream.

My question:  Where is the recorded video from the live stream located? 

I expected to see some sort of files in /opt/adobe/fms/applications/live, but there is nothing.  Where it stored?  Do I have to do something special to record a live stream?

Thanks

    This topic has been closed for replies.

    1 reply

    May 4, 2010

    You'll have to tell it to record. 

    Either from the client, or from the server side.

    I'm using a bit of both.

    Are you recording from a webcam or from live encoder?

    I'm in a bit of a rush but I'll try to answer:

    in the flash client you do something like my_netstream.publish("myStream", "live");

    on the server side you'll do something like:

    application.onPublish = function(client, myStream)
    { 
        nc = new NetConnection(); 
        nc.connect("rtmp://example.com/myApp"); 
        ns = new NetStream(nc); 
        ns.attach(myStream); 
        ns.publish("mp4:" + myStream.name, "record"); 
    };

    I ran into issues when i used "mp4:"+ mystreamname.   But I think that's because I was recording from my webcam which might not support mp4?  If you use .flv it usually works just fine.  example:   ns.publish("myFileName.flv", "record");

    http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4fbf351e63e3d11a11aff5ba-7d13.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7fd6

    Participating Frequently
    May 5, 2010

    Yes theMinistry is almost right, but just one more piece of information, you need not create NetStream to record on server, you can do simply by following piece of code:

    application.onPublish = function(c,s){

         s.record();

    }

    For the question where does it get stored when you record, it gets stored in default "streams" folder of FMS under "instance" name.If you have configured Virtual Directory it will get stored there.