Java and flex Study Notes (16)-installation and testing of the red5 Streaming Media Server

Source: Internet
Author: User

Red5 is a Java-based open-source Streaming Media Server. It can be used as a server to play videos online like qvod in flex. Red5 is similar to Tomcat, so you can integrate red5 with Tomcat. red5 uses rtmp as the streaming media transmission protocol. It provides streaming FLV and MP3 files, real-time recording client streams as FLV files, shared objects, real-time video playback, remoting, and other functions.


It is said that red5 has only developed to version 1.0 so far. There is really little information about its system on the Internet. I checked a lot of information to make a rough idea about the installation process, to sum up.


Considering the stability, I have installed version 0.8. If you want to install this version, you can download it here: Click here to download

I will not talk about the installation process, because it is no different from the normal program installation, but it is worth noting that the default address of red5 is localhost, and the port number is 5080.


1. Open the server


Find the installation directory and run red5.bat. A cmd information box is displayed. If the following prompt is displayed, the installation is successful:





2. view the red5 version you have installed.


Similarly, you can view the server output information as follows:




You can check in that the version you installed is 0.8.0.


3. Open the Home Page


Open your browser and enter http: // localhost: 5080/in the address bar. The page is as follows:



This page can also check whether red5 is running normally. Obviously, it is normal.


PS: there will be a demo video in the blank space. I haven't waited for a long time to see it. I wonder if it's a bad character, (* ^__ ^ *)...


Iv. Examples of built-in Installation


Enter http: // localhost: 5080/installer/in the address bar of the browser to open this page, as shown below:




The installation method is as follows: select an example and click an "Install" button in the lower right corner.


Friendly reminder: We recommend that you install the oflademo example, because this example contains several videos that can be directly used, but the installation process is quite time-consuming, wait patiently (you can download it here ).


The installation example is displayed in the webapps folder in the red5 installation directory.


In this example, enter http: // localhost: 5080/demos/ofla_demo.html in the address bar to open this demo. The operations are as follows:

 


PS: You can also add a FLV video in the project's streams folder, which is automatically recognized during connection. Note that if the file name is "Chinese", the console reports an exception but does not affect usage. If the file name is changed to English, the exception disappears.


Of course, there are still many examples to test. You can view them on the http: // localhost: 5080/demos/page. I have also tried it and there are instant chats and video sessions, for more information, see.


This is my summary of red5 during this time and I hope it will help new users.


Original article, reproduced please indicate the source: http://www.dianfusoft.com/




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.