We have a Wowza server that does not have Transcoder AddOn enabled, and as a consequence we have to stream several local bitrates in order to enable multi-bitrate in a player:
Now, to actually enable multi-bitrate, I need not three .m3u8 files:
http://hls0.60001-live0.dna.qbrick.com/60001-live0/lego_low/playlist.m3u8
http://hls0.60001-live0.dna.qbrick.com/60001-live0/lego_medium/playlist.m3u8
http://hls0.60001-live0.dna.qbrick.com/60001-live0/lego_high/playlist.m3u8
I need a a single one referring to the three streams. I suppose I have to create my own .m3u8 file, but how?
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2691072,CODECS="avc1.77.31,mp4a.40.2",RESOLUTION=1280x720
[COLOR="#FF0000"]how do I refer to high bitrate stream?[/COLOR]
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1155072,CODECS="avc1.77.31,mp4a.40.2",RESOLUTION=832x468
[COLOR="#FF0000"]how do I refer to medium bitrate stream?[/COLOR]
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=448512,CODECS="avc1.66.30,mp4a.40.2",RESOLUTION=640x360
[COLOR="#FF0000"]how do I refer to low bitrate stream?[/COLOR]
I have already created a .smil file that enables JWPlayer to do multi-bitrate on the RTMP streams:
<smil>
<head>
<meta base="rtmp://flash0.60001-live0.dna.qbrick.com/60001-live0/_definst_" />
</head>
<body>
<switch>
<video src="mp4:lego_high" system-bitrate="2691072" width="1280" height="720"/>
<video src="mp4:lego_medium" system-bitrate="1155072" width="832" height="468"/>
<video src="mp4:lego_low" system-bitrate="448512" width="640" height="360"/>
</switch>
</body>
</smil>