Use red5 to build a simple live streaming media system (Ubuntu 12.10)

Source: Internet
Author: User

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.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.