streaming - How do I record streams in chunks on Flash Media Server -


I want to record a stream that is published on FMS 3.5 with Flash Live Encoder, but in files with a predefined length Splits the recording. For example, if a stream 'Webcam' is published then I want to record it in a 10 minute block: 'Webcam 1.FL', 'Webcam 2.FL ... I can say that working with timer There is no facility to do I could imagine that the only solution stream. Record () was used with the deadline parameter, but it looks like a hack because it makes netstream. Records. Dissociation moves on the stream when it should stop recording and start recording another block. Has anyone done something like this?

Why not only re-publish and record the stream with the timeline on the server side Name. Then run a timer that runs every ten minutes (or whatever) that stops recording the stream, and creates a new server side stream that runs the client stream.

With rows of this type:

  set interval ("SetInstream", 600000); Function setNavestream () {var now = new date (); ServerStream.record (wrong); Var Filename = "Recording -" + Now Guesthors () + "-" + Now Get minutes (); Server stream = stream.jet (filename); ServerStream.play ("clientStream"); ServerStream.record (); }  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -