I am having a video streaming website. Which is using Open Source Streaming Server Red5. Is it possible some how to redirect the traffic for rtmp via Apache to the said Red5 server.
You could reference all of your videos as if they were in a directory as follows:
Then use Apache's reverse proxy feature to forward requests for anything in the media folder to the Red5 server.
A request for rtmp://www.example.com/media/filename.flv would proxy through Apache to your internal server as http://red5server.example.com/filename.flv.
You can use mod proxy utility of Apache for this.Follow these steps to do so :
1.Open httpd.conf file located in the conf directory of the web server.
2.Edit the file by uncommenting them :
3.Add the following lines in the file-
Save the file and restart the service.You can test these changes by this URL -