Wowza Community

How to serve HLS using Wowza over port 80 in a server that also uses Apache2

I have a server Devian Wheezy with apache2 and WowzaStremaingEngine (WSE).

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鈥檓 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鈥檛 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>

Hello Victor,

Only one service can bind and listen on a port at a time, so you would either have to change the port of your HTTP server or set up the HTTP server to bind to one interface and Wowza to bind to another interface.

If you鈥檙e using JWPlayer then is there a reason why Wowza needs to listen on port 80? The streaming should be transparent to any user accessing the player over port 80.

Regards,

Paul

I found a solution to make Apache serve RTMP using ReverseProxy and I want a similar solution to serve HLS to avoid buy another IP interface, and serve all protocols over port 80, in this way users can access to stream throught strict firewalls.