Skip to main content
Known Participant
Oct 13, 2010 9:50 PM UTC
Question

Server side FLV recording

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 is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    storm767Author
    Known Participant
    Oct 15, 2010 12:29 AM UTC

    anyone from Adobe? is it possible? help please

    Translate
    Participating Frequently
    Oct 16, 2010 1:00 PM UTC

    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.

    Translate
    Participating Frequently
    Oct 14, 2010 4:54 AM UTC

    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.

    Translate
    storm767Author
    Known Participant
    Oct 14, 2010 3:06 PM UTC

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

    Translate