Jalankan Red5 & Wowza Flash Media Servers on Same Linux Server

This post shows how to install Wowza on a server where there is another RTMP server, already installed, iaitu. Red5. Run 2 rtmp servers at same time and allow applications to connect on both simultaneously.

First install Wowza Media Server. Update version if necessary.

wget http://www.wowzamedia.com/downloads/WowzaMediaServer-2-0-0/WowzaMediaServer-2.0.0.rpm.bin
chmod a+x WowzaMediaServer-2.0.0.rpm.bin

Then fill your Wowza Media Server license ( yang free developer license for 10 connections can be used for testing):

cd /usr/local/WowzaMediaServer/bin

Change rtmp port in /usr/local/WowzaMediaServer-2.0.0/conf/VHost.xml from 1935 to some other port not in use (iaitu. 1936):

<!– Separate multiple ports with commas –>
<!– 80: HTTP, RTMPT –>
<!– 554: RTSP –>

Run Wowza in background. You can also add this to /etc/rc.d/rc.local to have it running on each server restart:

cd /usr/local/WowzaMediaServer/bin
./startup.sh > Start.log &

Now you’ll be able to access wowza rtmp applications with rtmp://pelayan anda-:1936/your-wowza-application while red5 applications will be accessible the old way with rtmp://your-server/your-red5-application .

An example of 2 rtmp servers running on same linux server is the VideoWhisper Webcam Video Recorder.

Red5 Video Recorder
Wowza Video Recorder

Kajian saya

Borang kajian..


Memuatkan Ulasan....