Thank you Lenny ! I am using jetty, but i will surely find my way with your apparently clear explanations ; thank many again :)
Keep up the good work ! Selon Lenny Sorey <[EMAIL PROTECTED]>: > Ok Folks, > > > > I decided to drop back to the Video Conference example that comes with RED5 > to see if I could get it to work before I go any deeper into Carlos's (AKA > Storm) Video Conference Example. > > > > After a little tinkering, I finally got all webcams connected viewing one > another. In addition, I also got audio working in the example as well. > > > > I used three connections in my local network as I tested the Video > Conference > > Example. I used two webcams and one user without a webcam that participated > in the Chatting. The user without the webcam always got the no camera image > after logging on > > but can see the other two users with webcams attached to RED5 Video > Conference Example. > > > > This example works much better if you change the RTMP address in the > actionscript Connector.as on line 51 the IP address of the server that RED5 > is running on. In my case, RED5 is running on Tomcat 5.5 on IP address > 10.2.0.10 in my local area network. So in this example I would change the > existing rtmp://localhost/fitcDemo on line 51 to rtmp://10.2.0.10/fitcDemo > so that all user logging into Tomcat via the following url > > http://10.2.0.10:8080/red5/ (remember 10.2.0.10 is my local IP address that > I have Tomcat running on. Most Tomcat connections connect like this > http://localhost:8080/red5/ > > > > I also changed RED5 index.html and added some more html in the RED5 webapp > folder in Tomcat to make it easier for Tomcat users to access all the demo > examples from the index.html page. Feel free to use these or make any > changes to these files you would like. I found that the index.html that > comes with RED5 has problems with Tomcat find the examples. The demo list in > Jetty does not display in Tomcat. > > > > I am using a Win2k server to host Tomcat 5.5 on my local area network with > RED5. RED5 was built from SVN version 1762. I am connecting to the Tomcat > server from a win2k machine and an XP professional machine. I built the war > file with ANT and exploded it with WinRAR so I could add things to the > Tomcat RED5 webapp on the fly after rebuilding the webwar. If you republish > a swf you can drop it into Tomcat without having to restart the server. I > did this a bunch of times when I was playing the Subscriber.as, the > Connector.as and the Broadcaster.as actions scripts. I am using Flash > Professional 8.0 > > > If you want to try the Video Conference example, you may download it from > ftp://67.79.48.170 > > username: red5 > Password: red5 > > > These are the available folders: > > > > *VideoConference_Compiled_Files_Original* this contains the compiled > videoconference.swf where the rtmp address is rtmp://localhost/fitcDemo. > You can actually connect to the video conference from multiple machines with > this version but the machines that are logging into RED5 will have to change > the IP address in rtmp://localhost/fitcDemo to rtmp://ip address of > Tomcat/fitcDemo in order to connect. > > > > For those wish to place to explore further, I have included the source files > for Flash , the videoConference.fla and the actions scripts. > > > > These are located in the *VideoConferece_Source_Files_Original* folder on > the ftp server. > > Before you replace anything make sure your save your original examples, > flash , action scripts. > > > > Place the fla in the - red5/swf/DEV_Source Folder > > > > Place the action scripts in the > red5/swf/DEV_Source/classes/org/red5/samples/livestream/videoconference > folder. > > > > Navigate to > red5/swf/DEV_Source/classes/org/red5/samples/livestream/videoconference > folder > find Connector.as , go to line 51 and change localhost to the ip address of > where you have Tomcat installed and save your file. > > > > Drop out to a command line to fire up ANT. In my case Red5 is located in the > following folder: > > > > D:\red5 This is where my build.xml is located. Navigate to where you have > red5 installed and type ant webwar in the command line window and let it > build. Use a tool like winRAR and explode the war file or just placed the > war file in the: > > > > Tomcat\webapps folder and it will take care of exploding the file for you. > > > > Lastly, if you want the html files I created to make it easier to navigate > to the demo files, just copy these files to the red5 webapp folder in > Tomcat. - *in **Tomcat_html_files* > > > > Hope this app works for everyone. > > > > Please review Tomcat log files for some very good info that is being written > there regarding the Video Conference App. > > > One thing I did notice with the current code. When Video App just sits there > and no one logs into it, the context return piece goes wild and throws a > java heap exception with an out of memory error. Seems the platform just > eventually sucks all the available RAM with the blank Returning Context. > > > > But the good news is I logged on from three machines to the Video Conference > App walk away for around an hour, came back and was able to proceed with all > the connected users. > _______________________________________________ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org