Red5 Streaming Media Server installation and configuration (combination of flex and Java)

Source: Internet
Author: User
Tags server installation and configuration

I have promised to help teacher Yan configure this item for a long time. Now I have finally achieved the result. I 'd like to thank the motor brother of the "Flash/flex source code open" group, A very enthusiastic person. I installed red5 version 0.8. Let's take a look: [Can't I copy the word image directly now? Why can't I send attachments? I will upload the file to the resource capacity. If you need it, download it. This article is also available in Word]

After sorting out the ideas, I won't talk about installation or other things. I downloaded his Java-End program according to the prompts on the official demo, then directly put it in the \ red5 \ webapps \ directory

Of course, this is the first start interface:

I have also installed it. I suspect this is a client program, a server program, that is, what I mentioned above, and I want to download it myself (I am in this brother:

Http://blog.csdn.net/youqishini/article/details/7960046

 

Download HERE, 15 MB)

 

 

Then let's look at the operation:

First, we need to restart the red5 service after we put the oflademo in the red5 webapps.

1. Windows service is enabled:

2. enable it in the red5 installation directory:

(Double-click it, red5.bat)

Enter the CMD mode:

 

3. Okay. Now we can go to the browser and enter the address:

Http: // localhost: 5080/demos/ofla_demo.html press connect and you will see in the Lib library on the left:

FLV files in this directory

 

 

Very OK, huh, huh.

 

 

 

Let's take a look at the demo of another chat room I downloaded, that is, the website that sent you yesterday:

Http://www.freedevelopment.net/articles/red5-first-application-example.html

Code structure:

Flash is placed on the client:

 

Chat is placed on the server:

Then re-enable the red5.bat (double-click,) and enable the red5 service in the Windows service.

 

Enter http: // localhost: 5080/flash/in the address bar to access

 

 

 

 

 

 

In addition, I asked someone on the Internet again today. Haha, the original web server problem is as follows:

 

"Flex development is intended for users! So put it in the HTTP server! You don't need to put it in the streaming media folder or in the Streaming Media Server of red5. (that is to say, you can also put it in the streaming media of red5. I also tried it just now .)

 

The details are as follows: (Tomcat is used below, but other Web servers can also be used .)

I installed tomcat5.5 to put the flex client stuff under this directory:

 

Enable Tomcat:

Restart the red5 server again (it is critical to restart the server), and enter the following in the address bar:

Http: // 127.0.0.1: 8088/flash/

(Sorry, I don't know why. Maybe I changed the port number, so it's only 8088. you have to check your situation)

The specific results are as follows:

 

This article references the following articles: (Google Keyword: red5 Java)

Http://blog.csdn.net/youqishini/article/details/7960046

Http://www.freedevelopment.net/articles/red5-first-application-example.html

Http://www.cnweblog.com/fly2700/archive/2011/11/25/318784.html

Http://blog.csdn.net/chengshangqian/article/details/8567804

Http://www.cuplayer.com/player/PlayerCode/Red5/2013/0319/760.html

Http://qiutian110119.iteye.com/blog/1525178

Http://www.verydemo.com/demo_c89_i125747.html

Http://suiyuan0808.iteye.com/blog/819810

Http://blog.csdn.net/zhoujieyaoqu/article/details/7535843

Http://qiutian110119.iteye.com/blog/1525178

In my resources, you can directly download articles and software of the Word version.

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.