THANKS! That's awesome! So one of my machines still doesn not like the new version either and the service fails to start. It's a laptop although I am not sure that matters. Anyway, my desktop is happy and then service runs and I should find out momentarily if my app can connect.
Thanks again! Cheers, Colin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joachim Bauch Sent: Wednesday, April 26, 2006 2:39 PM To: [email protected] Subject: Re: [Red5] noob questions Hi Colin, Colin Cherot wrote: > Hi there. I am just getting started here and I seem to be a little > confused. I am not terribly familiar with Java and I am not sure I need > if I just want to install and run the setup-red5-0.3.exe file. So here > are my questions which I can't seem to find answers to yet: > > 1. If I just want to run setup-red5-0.3.exe and use the server, do I > still need to install Apache Ant and the Java JDK 1.4.02? > > I am starting to lean towards yes since I can not start the service (I > get a generic error) and when I try to run the batch file it seems to > throw a whole bunch of errors that seem Java related as far as I can tell. First of all you should use the new version 0.4 that can be downloaded from http://dl.fancycode.com/red5/setup-red5-0.4.exe If you don't want to write any special server-side logic, you only need to install a Java Runtime Environment (JRE) 1.5 that can be downloaded from the Sun homepage. > 2. Once I get this server up and running, according to Joachim's How-To > (THANKS!), I need a web handler tag in my web.xml file like this: > > <PRE class=literal-block><bean id="web.handler" > class="the.path.to.my.Application" > singleton="true" /> > </PRE> > > ....but I am not sure what to put in for the path. Does this mean I am > suppose to create a folder for my app here?: > > C:\Program Files\Red5\src\org\red5\server > > ...and point to that? If so, what do I put in that directory? > > 3. Can I use my .asc files? This is not obvious to me at this point. > My asc file doesn't really do anything other than accept the connection. I'll answer these two questions in one. As you don't seem to have any server-side code yet (other than accepting connections), you probably don't need a special application handler but can use the following definition: <bean id="web.handler" class="org.red5.server.adapter.ApplicationAdapter" singleton="true" /> This uses the default application handler of Red5 that just accepts any connection / SO request / stream request. If you want to write application logic, you currently will need a Java compiler (JDK), write your own class and store the compiled class somewhere in your classpath so it can be imported during startup. Using ActionScript as language for server-side code is not supported yet but may be available with other scripting languages in the future. Hope that helps, Joachim _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
