Check out the server source and look at the following files: Directory - <Red5 checkout directory>\server\webapps\oflaDemo\WEB-INF\src\applications
Files - main.js demoservice.js Also read this document for background on the scripting engine: <Red5 checkout directory>\server\doc\HOWTO-Scripting.txt Paul On 2/15/07, anil <[EMAIL PROTECTED]> wrote:
how can i use javascript to write serverside applications. ----- Original Message ----- *From:* Mondain <[EMAIL PROTECTED]> *To:* [email protected] *Sent:* Thursday, February 15, 2007 10:19 PM *Subject:* Re: [Red5] create my own app on OSX If you know ruby, python, or javascript you could try writing your application in one of those languages. At the very minimum you will need to write java interfaces for your functions but that is extremely simple to do. I am working on the howto for scripting but it is currently unfinished. Here is an example of a java interface (yes the methods are supposed to be empty): package mycode; public interface MyApplication { public String getAString(); public Object[] getAListOfSomething(); } et voila! thats it... You can find the howto in SVN at /doc/trunk/HOWTO- Scripting.txt Paul On 2/15/07, Jean-Philippe DELAVALLADE <[EMAIL PROTECTED]> wrote: > > Hi, > I use RED5 on Mac OSX, and i would like to create my own application > now. > I would ike to use apllication.appStart, etc... > On FMS i use .asc for serverside and i know it's Java for Red5. (i > dunno Java) > How i can doing for creating a new app on MAC ? > What's files i must modify ? red5-web.xml? web.xml? others ? where i > put the code ? > Where i can find a simple sample ? It is different with OSX ? > Thanks > JP > > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > -- The early bird may get the worm, but the second mouse gets the cheese. ------------------------------ _______________________________________________ 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
-- The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
