1. Install and set up red5.
For more information about this process, see http://blog.csdn.net/liwf616/article/details/8810405,
After the installation is complete and red5 is started.
Ii. Install the example Program
(1) In the web browser, enter the address http: // localhost: 5080. If the interface appears, the startup is successful. Localhost is the Host IP address.
(2) Click "Install" on the homepage to go To the demo installation page. I want to display the live video demo here. I will install "oflademo" and click "Install.
(3) Go to http: // localhost: 5080/demos/publisher.html. Enter the streaming media release demo to publish streaming media.
(4) Select a video or audio device and click "Apply", for example:
(5) under "server" in the settings, click "Connect", for example:
(6) switch to the video device parameter page and click "publish" to publish the live video, for example:
3. Use the tool to watch the live video.
(1) enter the CD/share/software/red5-server-1.0/webapps/oflademo directory, modify the index.html file: Pay attention to the file, streamer parameters, these two parameters are not set correctly, will not show the video. File is the name of the video in red5 when the video is published. Streamer I use the rtmp method here. The address must be an IP address for the Streaming Media Server and cannot be localhost. For example:
(2) Find an IE browser, enter http: // localhost: 5080/oflademo/index.html, and click play. Localhost is the IP address of the host.