recording the videoChat example
I'm pretty new to flash and WMS so go easy on me!
I've set up the server and got the videochat working, i plan to eventually use this form of application as a video conferencing tool.
I've managed to get 3 connections working fine, the videos and audios stream perfectly.
I'm now getting to the stage where I'm wanting to record what is being published by each user.
i.e, when camera1 publishes its stream i want it recorded aswell
the same will happen for camera2, and 3 etc
The application will run the same as it does now - streaming the live streams but i would like to record each published stream in the background for future use.
Can anyone send me in the right direction for this? any documentation or examples will be extremely helpful and appreciated.
Last edited by cambridge; 08-26-2010 at 07:25 AM.
There are two options for recording these streams, and one caveat.
Consider the caveat first: Each stream in the chat will record to a different file, and it is going to be at least difficult and impractical, or practically impossible, to re-create a chat session from them. You will have a bunch of streams that are talking to themselves, or making little sense because of synchronization issues. It is theoretically possible though: it would likely involve adding cuepoints with timecodes to each stream and playing back in a client that is doing a lot of work to read the cuepoints and adjust synchronization.
The easiest way to record all the streams is change the StreamType to live-record-lowlatency" (or "live-record"). All the streams will be recorded from start to finish.
The other way to record is using the LiveStreamRecord package/example:
This is a server-side method, but it includes a Flash client that will connect, play a stream, then start and stop recording by clicking a button. You would use this if you want to record some of a stream, or some of the streams in the chat. Otherwise, you can just the first method, and record all streams from publish to unpublish.
See this post for injecting cuepoints
Many thanks for the fast, detailed response.
I'll try the live-record-lowlatency streamtype and let you know how i've got on.
At the moment, recording each stream will be adequate.
Just to let you know how i got on - The published streams are now being recorded.
Originally Posted by cambridge
Great! You're welcome. Thanks for update.
Tags for this Thread