Click to See Complete Forum and Search --> : How to capture & save a stream on the server


paulk
02-06-2008, 06:55 PM
Hi;

I am providing live streaming/webcasting. I want to be able to automatically record/save the stream on the webserver, so that it is available for viewing immediately for any audience who wasn't able to watch it live. I'm using Windows Media Encoder & Player.

I know I can record the stream while encoding it, but that's on my encoding computer, then it would have to be transfered manually to my webserver, and I have unskilled people doing this.

Is there any PHP code or routine I can use to catch the stream? My setup is that I send the stream from my encoding computer to my CDN/Streaming Server provider. On my website, which is hosted by a standard hosting company, I embed a MS Media Player control, with a link to the streaming server company.

I guess on my web host computer I could have a PHP script that would act as another "viewer" of the stream, & record it to a local file, but I don't know how to do that offhand. It would be great if anyone could point me to any existing code or give me any tips/advice/suggestions.

Thanks,

Paul