Skip to main content
Known Participant
October 13, 2010
Question

Server side FLV recording

  • October 13, 2010
  • 2 replies
  • 732 views

Hi,

I'm trying to record a FLV, using servers-side scripting. It's working as expected. I'm using record('append') to add streams to the same file. What I want to do now is record the streams in "real-time". I want to keep the same functionality (append) but I want to "records" the time that there is no streams available. In other words, I want to ends a with a file (FLV) with the srtreams separated by black frames when there are no streams available. If the time between a stream and the next stream is 5 minutes, I want the FLv to play 5 minutes in black.

Is that possible with FMS?

    This topic has been closed for replies.

    2 replies

    storm767Author
    Known Participant
    October 15, 2010

    anyone from Adobe? is it possible? help please

    Participating Frequently
    October 16, 2010

    I am not sure what are you using for publishing but say if its Flash Player then it would be little easier. Anyways i will just give you hints and not entire code as of now.

    You can use Microphone.setSilenceLevel(100) meaning create Microphone instance and use this mentioned function and attach it to the publishing netstream. Now when you finish first stream publishing, start this stream to publish silent audio stream.

    Let me know if you still need help.

    Participating Frequently
    October 14, 2010

    If you are ok having audio data with silence - i think your use case should be doable with some server-side and client-side coding.

    storm767Author
    Known Participant
    October 14, 2010

    Yes, audio data with silence will be perfect! any idea of the code?