
Playlist doesn't advance on connection error
Hi,
I'm trying to configure JW player (latest version) to connect to a live RTMP stream. We have 2 servers and I set up a playlist containing the stream on each of these servers as separate playlist items. The connection to the first server works fine, but if there is an error, it doesn't advance to the next playlist. How can we make this happen?
playerInstance = jwplayer("container");
playerInstance.setup({
playlist: [ { file: "rtmp://audio1.example.com/Red5FlashAudio/flv:audio_stream" },
{ file: "rtmp://audio2.example.com/Red5FlashAudio/flv:audio_stream" } ],
rtmp: {
bufferlength: 0.1
},
height: 360,
width: 640
}).play();
Thanks!