powered by Jive Software

OpenFire and Red5.war Installation

Hopefully someone can help with a question regarding OpenFire and the Red5 plug-in.

The Red5 plugin readme (http://www.igniterealtime.org/community/docs/DOC-1518) says:

You will need Openfire version 3.5.0 and above. Java 1.6 is required.

Installation

Enable HTTP_BIND on Openfire (if disabled) and note the HTTP port.

Copy the red5.war file to the Openfire_HOME/plugins directory.

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.

Our OpenFire installation is:

Windows 2K server.

Version: Openfire 3.6.4

*Java Version: 1.6.0_03 Sun Microsystems Inc. – Java HotSpot™ Server VM *

Appserver: jetty-6.1.x

Red5War_0.8.0.zip was obtained from http://code.google.com/p/red5/downloads/list, unzipped and root.war renamed to red5.war.

After following the installation instructions OpenFire does not pick the red5.war file and does not create the red5 folder.

Are we missing the obvious ?

This may be related to the red5.war file you have, try getting the copy from:

http://www.igniterealtime.org/community/thread/37331

Great, that helped. After using this red5.war and restarting OpenFire the Red5 folder was created.

From there we caould see the red5 phone icon in Spark, this was after setting the “Red5.settings” file in the Spark folder with the server IP and port number.

We could place a call, the user could answer the call, however we do not see each others video nor can we get audio.

Any ideas ?

After investigation on the firewall in front of the OpenFire server there were various ports blocked.

When these ports were allowed we successfully got the Red5 plug-in to work for Spark.

  • TCP/1935 Real Time Messaging Protocol (RTMP) is a proprietary protocol developed by Adobe Systems for streaming audio, video and data over the Internet, between a Flash player and a server.

  • TCP/843 Flash Player 9,0,115,0 introduces a concept of socket master policy files, which are served from the fixed TCP port number 843.

  • TCP/5229 (open) : Flash Cross Domain Service that allows Flash clients connect to other hostnames and ports.

Useful links:

http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_04.html

http://kb2.adobe.com/cps/164/tn_16499.html

We also put a Red5.properties file in the Spark program files folder with the following content:

Red5 Settings

server=10.12.14.16

port=80

We still have SparkWeb to debug but using the settings above we have made some useful progress.