This is a quick and dirty demo to get started with the Red5 server.
In this demo, we will show how to stream video using the oflaDemo app that ships with the Red5 server.
The first step is to install/activate the app via the Red5 web GUI.
Open a browser and navigate to http://IPADDRESS:5080 and click on the link: Click here to install demos
On the installation screen, select oflaDemo and press the Install button
The streaming files go in the directory /usr/share/red5/webapps/oflaDemo/streams/
To make sure this directory is writable, log in via the console and execute the following command:
sudo chmod 777 /usr/share/red5/webapps/oflaDemo/streams/
Copy the flv file to be streamed to the red5 server. In this example we use WinSCP (Any SCP/SFTP will do ie filezilla, etc).
Now configure a flash video player to point to the red5 server. In this example we will use the Longtail JW Player, which can be configured automatically using the wizard on their website.
There are 2 flash variables that are required. file is the flv file, and streamer is the url to the red5 server and the application path. In this example we will use ESXi.flv and rtmp://builddocs.com/oflaDemo
Here is the working demo:
Please leave questions or comments below.
|Print This Post|