Hi Thijs,
I've read all the doc yet  but it's not clear for me.

EXAMPLE:

public List getLiveStreams() {
// Implementation goes here, say, use Red5 object to obtain scope and all it's streams
}

This method added to ApplicationAdapter sublass can be called from client side with the following code:

var nc:NetConnection = new NetConnection();
nc.connect(...);
nc.call("getLiveStreams", resultHandlerObj);
If you want to build a server-side framework this is a place to start and wrap it around ApplicationAdapter subclass.

With this example, can you make me the WEB-INF with the good files

Thanks

JP




Le 16 févr. 07 à 00:09, Thijs Triemstra|Collab a écrit :

Hi Jean-Phillippe,

Red5 comes with plenty of java/flash samples created with flash, check your red5 installation folder. There is no difference between Red5 on mac osx or windows because it's a java application. Also make sure to check out Joachim's FMS/FCS migration guide that explains red5 vs. fms serverside scripting: http://www.joachim- bauch.de/tutorials/red5/MigrationGuide.txt

hth,

Thijs

Op 15-feb-2007, om 20:30 heeft Jean-Philippe DELAVALLADE het volgende geschreven:

thanks
but i dont know where i put this code?
i 'd like a sample app who use java with apllication.appStart and so one...
because i don't know what file i must modify
i've read the Howto but don't explain with mac OSX and i don't use Flex or Eclipse



Le 15 févr. 07 à 17:49, Mondain a écrit :

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

_______________________________________________
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

Reply via email to