Hello all: I'm curious to see how others have solved the following problem. I'd like to be able to record a live broadcast on the server so that recording is completely transparent to the connected clients. I've implemented a similar solution for FMS, but am not quite sure how to accomplish this with Red5. Simply, here's what I am after:
Broadcaster connects to server and starts publishing their stream. Viewers can come and go at will. At a predetermined moment, the server will create a server-side stream, name it based upon the current time in milliseconds, subscribe to the broadcast stream and write the stream down to disk until I tell it to stop. I've looked into IServerStream/StreamUtils to create the server-side stream and the playlist APIs to subscribe to the broadcasting stream. However, I am unclear on whether IServerStream.saveAs() will continue to save the data as long as the stream is active or if it is a one time thing. Also, I can't seem to find a way to get a hook back to the server-side stream when I want to tell it to stop recording. Is there an API similar to ApplicationAdapter's getBroadcastStream for retrieving the IServerStream I created earlier? Any insight or suggestions would be greatly appreciated. Carl -- Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind. - Dr. Seuss
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
