I have a server Devian Wheezy with apache2 and WowzaStremaingEngine (WSE).
- I’m using RTMP for desktop player versión (over port 80 with Apache ProxyPass) solution found here: http://www.keendevelopment.ch/running-apache-and-wowzaflash-media-serverred5-on-port-80-at-the-same-time/ and work fine for me
- HLS for android and iOS (with wowza over 1935 at the moment)
- And Apache (over standard port 80) for the web page with JWPlayer to reproduce the streaming.
I want to use port 80 for all the services! There is a way to resolve it without buying another IP adress?
I try the same way I use with RTMP, but it seems not work… with 404 error when try to load m3u8 file, maybe I’m making something wrong. I include simply the next line in /etc/apache2/sites-enabled/000-default
ProxyPass "^/(.*\.m3u8)$" http://localhost:1935/$1
Actually I use a URL with the next format to play the stream using Wowza (don’t have the m3u8 files, using smil format to determine the qualities)
http://my.domain.com:1935/myVodApp/smil:multibitrate.smil/playlist.m3u8
SMIL example file for WOWZA (Generated when video transcoding process finished)
<?xml version="1.0" encoding="UTF-8"?>
<smil title="multibitrate.mp4">
<body>
<switch>
<video height="360" src="multibitrate_360.mp4" systemLanguage="spa" width="640">
<param name="videoBitrate" value="500000" valuetype="data"></param>
<param name="audioBitrate" value="64000" valuetype="data"></param>
</video>
<video height="480" src="multibitrate_480.mp4" systemLanguage="spa" width="854">
<param name="videoBitrate" value="1200000" valuetype="data"></param>
<param name="audioBitrate" value="96000" valuetype="data"></param>
</video>
<video height="720" src="multibitrate_720.mp4" systemLanguage="spa" width="1280">
<param name="videoBitrate" value="3000000" valuetype="data"></param>
<param name="audioBitrate" value="128000" valuetype="data"></param>
</video>
<video height="1080" src="multibitrate_1080.mp4" systemLanguage="spa" width="1920">
<param name="videoBitrate" value="8000000" valuetype="data"></param>
<param name="audioBitrate" value="192000" valuetype="data"></param>
</video>
</switch>
</body>
</smil>