
How to set up HLS streaming with Wowza. Chrome and Firefox not working.
I am running Wowza 4 to stream live video and using JW Player PRO for playback. I would like to set up adaptive bitrate using HLS streaming.
Currently, I can playback the stream on Safari, but not on Chrome / Firefox. I am getting the error: "Playlist could not be loaded: No playable sources found."
I followed the video tutorial on this page and setup the transcoder and SMIL file: http://www.wowza.com/forums/content.php?304-How-to-setup-and-run-Wowza-Transcoder
My SMIL file (twtest.smil) looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<smil title="Teaching Window Test">
<body>
<switch>
<video height="720" src="myStream.sdp_720p"
systemLanguage="eng" width="1280">
<param name="videoBitrate" value="1300000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="360" src="myStream.sdp_360p"
systemLanguage="eng" width="640">
<param name="videoBitrate" value="850000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="240" src="myStream.sdp_240p"
systemLanguage="eng" width="360">
<param name="videoBitrate" value="350000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
</switch>
</body>
</smil>
My JW Player setup looks like this:
jwplayer("myvideo").setup({
image: "http://www.teachingwindow.org/assets/content/livesessions.png",
sources: [{
file: "http://www.teachingwindow.org:1935/live_hls/smil:twtest.smil/playlist.m3u8"
}],
androidhls: true,
autostart: true
});
As I said, this works on Safari... but not Chrome or Firefox. Any insight would be appreciated.