Hi,
 
I think this is an important point too. Unfortunately I have seen noone
comment on this question. Could someone please explain the preferred way to
add new apps to the war package and an outline of the steps involved?
 
thanks very much in advance,
 
Hans

  _____  

Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
Andrea Matteo Serain
Verzonden: dinsdag 5 december 2006 16:54
Aan: [email protected]
Onderwerp: [Red5] Add new application to war


Hi everybody!
I'm using red5 rc0.6 war.

How can I add a new application to red5 server?
I developed an app (streamLive) that works great on red5 0.5, to use it with
red5+tomcat I did the following (in eclipse, within a project created from
the WAR file): 
- copied my source files in the package org.red5.server.webapp.streamLive;
- copied my Publisher.swf in the demos folder;
- changed those lines in ofla-context.xml:
<bean id="ofla.handler" 
        class="
org.red5.server.webapp.streamLive.mvc.controllers.Application" />
(where Application extends ApplicationAdapter)
- chaged this line in flvdemo.html:
var so = new SWFObject("demos/Publisher.swf", "ofla", "640", "480", "8"); 


When I load flvdemo.html (both in eclipse and using tomcat directly), it
shows me the correct flv in the page, but when i try to connect nothing
happens.

Have I done something wrong? Is there an "how to" add new application to the
war version of red5? 

Thanks for any help

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to