Red5 Plugin Readme
Prerequesites
Red5 is an open source streaming server for Flash media (audio and video). To stream video with Red5, you need a webcam and a web browser with support for flash and you must ensure the domain from where your Openfire server is running has been given permission to access you webcam.
You will need Openfire version 3.6.0 and above. Java 1.6 is required. See red5.html for details
Installation
For Linux users, you must give asao2ulaw execution permissions. It can be found in /opt/openfire/plugins/red5/codecs. If your linux distro is not Centos, you may need to recompile for your distro. Go to the src folder and run make. Copy the aso2ulaw file to the parent codecs folder.
Enable HTTP_BIND on Openfire (if disabled) and note the HTTP port.
Stop Openfire
Unzip the package file (red5-x.x.xx.zip) and copy the red5.war file to the Openfire_HOME/plugins directory.
Start Openfire
Go to the page http://your_server:your_http_bind_port/red5/index.html on your server to use the red5 flash web applications in your own client applications.
If page does not appear or you get an error in browser, then post you red5.log red5error.log and stdout.log files in the Red5 section of the igniterealtime web site for support and assistance.
Configuration (Openfire)
- From the Openfire Administration Console, click on 'Server' and then click on 'Red5 properties'.
- The Properties are self-explaining. If you change your red5 web application name or SIP settings, you must restart Openfire in order for the change to take effect. If you use anthing other than the default URL (rtmp:/oflaDemo) then make sure that have copied your java classes or jar file to the right place and made the correct changes to red5 properties and xml files.
- If you intend to use the modified SparkWeb to make SIP phone calls, you must install the SIP plugin and configure SIP profiles for each user.
Configuration (Spark)
- Copy red5-plugin.jar to the Spark plugins folder.There should now be a entry labelled "Red5" on the main menu. There should be three new menu items when you right click on a roster contact. See below for details
Configuration (SparkWeb)
- Edit index.html and change the jive_sparkweb_getConfig settings to match your configuration. If you want the SIP Phone to use RTMPT (tunnel RTMP over HTTP), change the red5url parameter from "rtmp:/sip" to "rtmpt::8000/sip"
How to use
See red5.html