Having a video recorder on your website will make this step easier!
When the user loads in the browser the HTML page in which the video recorder is embedded, the video recorder .swf file travels from the webserver to the users computer where it is loaded in the browser by Flash Player.
The video recorder will first ask the user what webcam and sound card to use for capturing video and audio, after that,when the user presses the RECORD button a connection is made to the media server for sending data to it. The connection is made only when the user presses the RECORD button so that the media server is not overloaded with connection attempts.
The video recorder will now capture audio and video data , encode it, (audio with the NellyMoser or Speex codecs and video with Spark) and put it in a small client side buffer from where it is sent to the media server.
When the encoded audio and video data reaches the media server it is stored in .flv files in a folder inside the media server installation folder.
The video is being sent to the media server while recording, by streaming.
When the users press the [SAVE] button, a call is made to both the JS and PHP/ASP/.NET(aspx) API's. You can use these API's to save the recording info (length, size, name) in your database, email the video to someone, etc. .
|
|