You'll need to register with Adobe in order to proceed to the download page.
The quickest way to stream video to your Red5 server is to use the graphical and very easy to use Adobe Flash Media Live Encoder on Windows or Mac OS X.ĭownload and install the encoder for your platform from Adobe's website. Once installed, we are ready for the fun part. To install the demo application, browse to Select midiDemo from the list and click Install. Luckily, this is as simple as pushing an install button since Red5 comes with a functional demo app called midiDemo. Now that we have a RTMP server we must setup Red5 with a streaming video application, otherwise we just have a RTMP server that doesn't do anything. Make sure (if necessary) to open or forward tcp port 1935 to your FreeBSD server so it is accessible from the Internet. The demo won't do anything, we just want to make sure that the page loads with no errors.Īt this point, we have a fully functional RTMP server. Click on Launch a demo and click on the Shared Ball demo to verify it loads. For example: You should see the Red5 logo with links to demos. Verify that the server is working by connecting to it on port 5080 from your web browser. The latest version as of this writing is JDK 1.6 When we attempt to build the port, FreeBSD will automatically tell us what we need.įrom the command prompt browse to the port directory and issue the make install command. The process involves selecting the correct version for your platform and agreeing to a license agreement. In order to proceed with the diablo-jdk port installation we must download the source tarballs from the Internet. If you already have a JDK installed, you may skip this section. For this setup we will use Diablo Caffe JDK. If you don't have one already, Red5 requires that we install a JDK (not a JRE) on the FreeBSD server. Adobe Flash Media Live Encoder is our capture/encoder program and Red5 is our media server. The encoder will PUSH live video TO the server and clients will connect to the server to PULL the live streaming video. We will have one system acting as the capture/encoder and another system acting as the media server.
If this is a new installation of FreeBSD, then you are good to go. It's always best to make sure the ports tree is up to date on your FreeBSD system.
We will use the FreeBSD operating system, the Red5 RTMP server, and the Adobe Flash Media Live Encoder. Streaming live video via Flash over RTMP can be done on FreeBSD with minimal effort.