Tagged with

Red5

Amazon EC2 instance running Red5 1.0 an Xuggler 3.4

xu‧ggle (zŭ’ gl) v. To freely encode, decode, and experience audio and video.

In order to build a more complete streaming platform I am working on several different installes of Red5 and with this new Amazon Machine Instance (AMI) I have installed xuggler. Xuggler is an open source Java wrapper around ffmpeg basically. There where also instructions on how to integrate it with Red5 so I copied the appropreate jar files into the red5 lib directory.

A few things to note about the AMI. Red5 is located in /usr/share/red5 and xuggler is located in /usr/share/xuggle.

Public AMI ID is ( ami-6e51aa07 )

 

Happy development and let me know if you guys run into any issues and I will have a look as soon as I can.

Red5 running on Ubuntu Amazon EC2 ami

Over the last few weekends I have been getting back into looking at Red5 as a solution for some streaming applications that I am working on. If you need a way to deploy a quick server instance of Red5 and you have an Amazon EC2 account then I a the solution for you. 

I customized an Amazon EC2 instance that is running Ubuntu 11.04 64bit and installed everything needed to run Red5 1.0. I also added a start script so you don’t have to boot Red5 via ssh after the instance is running. Simply search for the following public AMI when you go to create a new EC2 instance..

Thanks to Dominick Accattato for helping me find a start script for starting red5 on boot. 

ami-bc8873d5

ami-de27dcb7 (updated to fix owner permisssions on red5 directory)

You should be able to choose from a number of inctance sizes. This was very key for me as different size instances are going to be used based on the amount of connections you think your app will need. Keep in mind as of the date of this post micro instances are free to use for new customers for the first year! Great for testing!

I plan on creating a few more customized instances with Red5 for clustering and will share some of the results as I get them built. 

Once you get your instance running you should be able to copy the public DNS and navigate to ec2-public-dns-example:5080 to see the Red5 start page. 

Feel free to commit below if you have any questions or suggestions.

Red5 and Flex Basics Part 1 – Keep Track Of Users

In this video I am going to show you the basics of starting your first Red5 java application and we will use Flex to talk to the server and the server will keep track of a list of users that are logged in to the application. As soon as a user closes there browser or leaves the applications page the user will be removed from the applications list of users. This is really helpful for building applications where users are interacting with other users. This could be a Chat or Video application or even an online game where users can play against each other.

Before you can start you will need a couple of things installed. Eclipse with Flex Builder plugin, The Java EE development environment, and finally the Red5 Server Plugin for Eclipse. In the video I will explain a little bit about why you need this setup and where to go to get it but I will not cover installation at all.

I hope you guys enjoy and let me know if you have any questions.

Also included is the source files. Red5Tut.zip Red5TutClient.zip

Compiled Red5 App from Tutorial.