
HTML5 Livestreaming with HLS and RTSP
Hello,
I want to add HLS and RTSP links in my level array, because some android devices support RTSP streaming in the browser.
But since JW Player 5.9, the player on the iPad works only, if the HLS stream is the first item.
And the same for android: It works only, if the RTSP stream is the first one in the list.
Same problem for android with the JS Player 5.8. But it works on the iPad with JS Player 5.8 and HLS in the secound item.
Why this didn't work anymore? How can I add RTSP and HLS for HTML5 to support multiple devices?
My config (works on iPad only with JW Player 5.8):
bc.. modes: [
{
type: 'html5',
config: {
provider: 'video',
levels: [
{ bitrate: 360, width: 384, file: 'rtsp://14000-l.z.core.cdn.streamfarm.net:1935/.../hig' },
{ bitrate: 160, width: 384, file: 'rtsp://14000-l.z.core.cdn.streamfarm.net:1935/.../mid' },
{ bitrate: 360, width: 384, file: 'http://14000-l.z.core.cdn.streamfarm.net/.../smil:stream_live.smil/playlist.m3u8' }
]
}
},
{
type: 'flash',
src: 'flash/player.swf',
streamer: 'rtmpt://x2908erfeic14000.f.l.f.lb.core-cdn.net/14000erf',
levels: [
{ bitrate: 1500, width: 768, file: "live/.../live_de_1500" },
{ bitrate: 450, width: 512, file: "live/.../live_de_450" }
]
}
]