How do I record streams in chunks on Flash Media Server.

Posted by Vasil on Stack Overflow See other posts from Stack Overflow or by Vasil
Published on 2009-06-24T11:50:23Z Indexed on 2010/03/11 5:53 UTC
Read the original article Hit count: 287

I want to record a stream which is published with Flash Live Encoder to FMS 3.5, but split the recording in files with predefined length. For example if a stream 'webcam' is published I want to record it in chunks of 10 minutes: 'webcam1.flv', 'webcam2.flv' ... From what I can tell there's no facility to work with timers. The only solution I could think of was using stream.record() with a time limit parameter but that seems like a hack because it triggers NetStream.Record.DiskQuotaExceeded on the stream when the recordin should stop and start recording another chunk. Has anyone done something similar?

© Stack Overflow or respective owner

Related posts about flash-media-server

Related posts about streaming