Skip to main content
Participating Frequently
February 20, 2011
Question

how to record a Live Stream

  • February 20, 2011
  • 2 replies
  • 4981 views

I didn't find a straight forward answer to how i can record a live stream.

I need a very simple app that will connect to rtmp and record it. The app will be on the same server as the live stream.

How can i do this ?

    This topic has been closed for replies.

    2 replies

    Participant
    July 19, 2011

    If you want to record a live stream audio but without videos, perhaps i can pull my ideas here. I find this alternative to

    record live streaming audio, seems working well so far. i get its free trial version and also get things done. Besides, if you use windows system, here is the quick guide: directly recording with windows media player, it comes with computer itself.

    Adobe Employee
    February 21, 2011

    I did not get your use case clearly. Can you elaborate?

    If you want to record directly from publisher - if you are using Flash Player publish you can publish using "record" mode.

    Now if you are using FMLE and you want to record the incoming live stream, you can record using application.onPublish handler something like below:

    application.onPublish = function(myclient,mystream){

         mystream.record();

    }

    sumon86Author
    Participating Frequently
    February 21, 2011

    I want to use FMS to record on the server side, where exactly i would put this code ?

    my encoder is streaming to a app called "liveme" which is a exact copy of "live" app.

    Adobe Employee
    February 21, 2011

    If you are using exact copy of "live" application then you migth have to place "main.asc" from samples (<installdir>/samples/applications/live) in your liveme as live application does not allow recording.

    You can put the code which i have given you in main.asc, anywhere in main.asc should work.