Flash on the Beach 2007 Presentation Followup
Once again I want to thank John Davey from Flash on the Beach for putting on such an outstanding event, and secondly I want to apologize for taking so long to post my slides and examples from my presentation. I’ve been absolutely swamped with work coming into Infrared5, moving into a new office, and dealing with the holiday season creeping up on me. Thanks to all of you that came out to hear my early session on Building Red5 Applications; I was completely blown away that it was a standing room only crowd!
Now for the details: PDFs of the slides can be downloaded here. The example FLA that makes simple method calls is here. As for the Eclipse project and examples, it’s the same stuff that I posted a while ago, so here it is again:
You can download the Example Eclipse Project for Red5 here, and the Flex Project that shows the simple Chat and Webcam streaming here. Just unzip and import these projects to your workspace in Eclipse and you should be ready to roll. Don’t forget that Red5 requires Java 1.6 to run inside of Eclipse.
In order to start Red5 in Eclipse in the Package Explorer select and expand the red5.jar file, navigate to org->red5->server and right click on StandAlone.class. Then select Run->Run As Java Application. Alternatively you can select Debug->Debug As Java Application if you have set some breakpoints in your code.
A quick note to fellow Mac users (and this definitely deserves a whole post unto itself): Apple has not yet released a working version of the Java JDK 6 for Leopard, and they have long since removed the BETA version that was available from their developer’s site for Tiger. So, if you don’t have it, your best bet is to try this new open source port of the JDK for Mac called Soy Latte.
Please let me know if you have any questions about this stuff. Just leave comments here.
December 12th, 2007 at 4:51 pm
It was great to meet you Chris, keep it up!
December 13th, 2007 at 10:10 am
Thanks for these Chris - exactly what I was looking for
I’ve imported the project into Eclipse 3.3 (running on Java 1.6) and I get the following errors:
The project cannot be built until build path errors are resolved Red5_Test_Application
Unbound classpath container: ‘JRE System Library [JVM 1.6]‘ in project ‘Red5_Test_Application’
Any ideas?
Thanks,
Kelvin
December 13th, 2007 at 4:24 pm
Hey Kelvin,
Select the Project in the Package Explorer and right click on it. Then select Properties. Then click on Java Build Path. Then you should be able to find the “Libraries” tab. Scroll down and select ‘JRE System Library [JVM 1.6]’. Then click edit. Then select your installed JRE.
Basically the name I used for the JRE on my system isn’t the same as it is on your computer
Once you get this resolved, that should do the job. Let me know if that doesn’t work for some reason.
December 17th, 2007 at 10:23 am
Perfect - that did it Chris…
Thanks alot for all your help,
Kelvin
December 28th, 2007 at 9:30 am
Sorry if this is out of place, but I was wondering, if someone was using a midi instrument via red5 with flash, would they need red5 locally installed or can it just be connected via a server?
Thank youuu!
January 7th, 2008 at 9:04 pm
Hi John,
No worries about your question being out of place. You would need to have Red5 running locally to get Midi data to the flash player. Or, at least some type of server that would convert the midi signals into something that Flash understands.
You might want to check out John Grden’s post here for more info on red5 and midi: http://www.rockonflash.com/blog/?p=80
I hope that helps.
January 29th, 2008 at 3:34 pm
hi Chris,
I saw your presentation a while back at Flash Forward, and I’m just getting around to playing around with Red5. I would like to use the remoting features of Red 5, but it seems there are some classes missing from red5.jar included with the Eclipse project. I am using the echo example that is distributed with the Red5 server. When I start up the server through Eclipse i get a message saying it can’t find org.red5.server.net.remoting.FlexMessagingService. The server starts fine, but the echo app won’t work. How can I include these classes in my project? This might be a simple fix, but I have basically no Java experience.
January 29th, 2008 at 7:13 pm
Scott,
I believe the JAR file that is posted here is pretty old by now, and would be missing a lot of the new things including the FlexMessagingService class. Let me get a new Eclipse project going with the newest version built from the trunk. I will try to post that soon for you. If, however, you need it right away, you should be able to build it yourself without too much effort.
January 30th, 2008 at 5:30 pm
I was finally able to get something working using the jar files that came with the .6.3 release. Thanks for your help. Your post and your presentation were a good starting place for me.
January 31st, 2008 at 10:00 pm
hiya’s I’ve been messing with red5 for a little while now, managed to install and run the demos on both windows and linux.
(I must say its very cool the red5 crew has put this all together).
I’ve looked through all the stuff on the net I can find and it seems Red5, Flash Develop, FLex and Eclipse updates are all outrunning the tutorials for any of the projects at least the ones I have been able to find, this obviously leaves us new guys in the dark trying to figure out how to do anything.
I was wondering if there is there any chance of some updated (start - finish, tutorials) for Eclipse Europa, Flash Develop and Flex ( in FD and Eclipse) for the fitc_streaming and other projects? I tried to recreate your fitc_streaming in both eclipse and flash develop, I also tried Renaun’s version… rofl.. hey I got the green background to show up in FD but nothing in Eclipse, I’m probably making it all harder then it really is as usual lol…
I have been into php, mysql, html, and css for quite a while so I hope to put all that to even better use with red5..(Red5 is just way to cool to pass by) Thanks..
have a great day!
February 6th, 2008 at 9:37 am
[...] Red5 uygulamasını debug konusuna gelince, loglama konusunda bu kadar uğraşmamızın sebebi aslında Eclipse içinde Red5 projesini debug edemeyişimiz. Standalone server ile, Red5′i Eclipse üzerinde çalıştırmak mümkün dense de biz başaramadık. Başaran birileri olursa ve paylaşırsa seve seve burdan da yayınlar yada link verebiliriz..
Konuyla ilgili iki blog postu: Remote debugging Red5 applications , Flash on the Beach 2007 Presentation Followup . [...]