Well there are 2 red5’s, the open source red5 which is the one we use on our servers and red5pro, which is very expensive but still does not do what
Wowza Streaming Engine does.
Red5 the open source can be used for ondemand streaming which is video streaming, you upload videos (in flv or mp4 format) to a
red5 server and you stream the videos using red5, it is a better experience then using just a normal server, it starts faster because you don’t have to download the all file to the viewer computer and it is difficult for users to steal the video. But and this always applies, you can stream only to flash players, and most platforms are leaving flash, specially mobiles, so what I am saying is that red5 does not work well with smartphones, be Apple or Android devices.
You can also use red5 to stream live events, or video chats software’s.
We created an app for live streaming
Now we going to test it and create a player code so we can start streaming to our site.
Do you have fmle installed on your computer? You need to download it from adobe.
Lets test it first, go to
enter the rtmp of your app. the rtmp is
Enter this URL on the long string and click connect, now click “Publish” your camera will start, and now click “Play” if the 2 players show the same thing you are on. Everything is good.
OK, now we have to work on “stream name”. We talked about rtmp, and we tested it, the testing site if you go back to it
it has a stream name, “testing” this must be on both the publishing and on the player.
so it must be on the FMLE and on the player code.
(click on the image to have a better view)
the FMLE on the left you have your settings, frame per second, bitrate, your camera, format.
red5 server your bitrate should be about 320kbps higher then that you need a lot of RAM and server resources.
lets configure the fmle as the image shows.
on the right on the FMS URL enter the rtmp and on the stream enter your chosen stream name, in this case I entered “live” see image.
click connect, and then below click “Start”
you now streaming to your server.
Now creating a player for this stream. Go to
at the bottom on the “Streamer” enter the rtmp:
and on “Stream / File Name” enter the stream name, which we used on the FMLE, “live”
Click “Generate Code!”
Take the “Preview & Embed” code, paste on your site and that’s it.
You can also use an image on the player, it will show before the user click to play, enter the image URL on “Overlay Poster”
We will call this app live221.
first of all download the folder live from red5, the path is /usr/local/red5/webapps
if you ftp to the server you will see these apps.
then rename the folder live to live221
open the folder and go inside \WEB-INF folder, there are 3 files there, you need to change 2.
1- file: red5-web.properties
2 – file: web.xml
open on a text editor red5-web.properties , you will see the 2 lines below:
change it to:
now open the second file web.xml the code on top:
upload the new folder, restart the Red5
go to the Red5 admin area and you will see the new app.
In the future we will make videos tutorials about
live broadcast and video streaming and we will post it on our youtube channel.