Hardware:
Computer camera or mobile phone camera
Software:
Droidcam Windows Client 6.0. Get the phone camera information, the computer camera does not need this application
Adobe Media Server 5. Media server
Adobe Flash Media Live Encoder 3.2. Video Streaming tools
flowplayer-3.2.18. Web Play plugin, need to download the relevant plugin.
Step One
The computer camera can skip this step.
Get video information. Mobile phone and PC install Droidcam Client, configure after connection. Specific ways to ask degrees Niang.
Step Two
Install Adobe Media Server 5 and configure the instance as "live".
Step Three
Configure Adobe Flash Media Live Encoder 3.2
1. "Device" is a camera device.
2, the FMS URL is "rtmp://localhost/live", the stream is "livestream".
3. Click "Connect".
4. Start
Step Four
Page display.
<aclass= "Player"style= "display:block; width:480px; height:270px;"ID= "Player"runat= "Server"></a> <Scriptlanguage= "JavaScript"type= "Text/javascript"style= "z-index:0;">FlowPlayer ("player", {src:".. /scripts/flowplayer-3.2.18.swf", Wmode:'Transparent'}, {clip: {URL:'Rtmp://localhost/live/livestream', //scaling: ' Fit ',AutoPlay:true, //Configure clip to use HDDN as we provider, referring to our rtmp pluginprovider:'rtmp', Live:true, }, //Streaming plugins is configured under the Plugins nodePlugins: {//Here's our rtmp plugin configurationrtmp: {URL:'.. /scripts/flowplayer.rtmp-3.2.13.swf', //Netconnectionurl defines where the streams is foundNetconnectionurl:'rtmp://localhost/live'}, Controls: {play:false, opacity:0, Scrubber:false, Volume:false, Mute:false } } });</Script>
Setting up a live system