Red5 WebSocket chat application example.
The example index.html defaults to using a WebSocket connection to localhost on port 8081. This means that the localhost and port must be configured in the red5/conf/jee-container.xml file.
<bean id="webSocketTransport" class="org.red5.net.websocket.WebSocketTransport">
<property name="addresses">
<list>
<value>localhost:8081</value>
</list>
</property>
</bean>
Build the application from the command line with
mvn package
Deploy your application by copying the war file into your red5/webapps directory.
After deploy is complete, go to http://localhost:5080/chat/ in your browser (open two tabs if you want to chat back and forth on the same computer).
https://mega.co.nz/#!YQ12DBLB!jbey-QDIwC_zveM5K2yPpMVBBCTr0025siv6YRvl-Fg