[Red5] Fwd: For those asking for a videoconference Demo.
storm.storm at gmail.com
Wed Apr 18 17:59:56 EDT 2007
Ok, finally i got the time to have a look back at my videoconf demo, and
i've made it work in a clean Red5 0.6RC3 installation on windows,
stand-alone here at home so i hope it works for everyone elses.
It's completly open-sorce so feel free to use, modify blablablah. Just give
credit. Code is in spa-english, i translated most comments and outputs.
You can download it here:
1. unpack the attached file to a new folder
2. edit Conector.as and change this line(59)
to make it point to your server ip, name, localhost or whatever. (and your
appName in case you do 4.c)
(ok, that's ugly, your right)
3. Publish Pruebas.fla and copy the resulting swf to red5's demos folder
(where the other demos reside)
4.a (the easy way): copy my Application.class and paste it onto
Application.class in fitcDemo.jar file (\Red5\webapps\fitcDemo\WEB-INF\lib)
4.b compile my Application.java and paste resulting .class in place.
4.c (the proper way): create a new red5 app using my Aplicattion.java so you
don't lose fitcDemo.
5. start-up Red5 server
6. open your browser and connect to yourServer:5080/demos/Pruebas.swf (or
however you've called it).
7. click on the ugly-big-square-white-button-with-arrows-on-it (tm)
Features: dinamically created video containers (no hard-coded limit of
simultaneous clients). Drag&dropapble & minimizable Containers. Verbose
output (through both flash and red5 log).
It DOES NOT have text chat, but Jonh's chatDemo isn't dificult to integrate.
PLEASE NOTE: this thinggy was done by me *while* i was learning AS, Flash
and Red5 altogether, so there might be some weird or strange things in the
code for the experienced, so please be gentle. For those with time browsing
John's videoconferenceDemo the global structure of the code will sound
Also: design is more than ugly and i know it, keep in mind again that this
was a proof of concept to know what red5 could or couldn't do, not a final
About the server side app: i'm pretty sure that now with rc3 one can remove
the fancy "manual unregistering" of streams, but it was needed on RC2.
Now, just want to thank everyone that helped me doing this or after that,
specially John who was kind enough to help me in the beginning pointing me
in the right direction, and of course to the whole Red5 team, you sirs
PS: sorry for using rapidshare but i don't have a better place available.
If a man speaks in a forest and his wife is not there, is he still wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5