Quantcast
Viewing all articles
Browse latest Browse all 2800

Catch HLS stop event while playing a live HLS stream

Hi everyone, My goal: I need to implement a live streaming (HLS) fallback. When the primary stream stops, JWPlayer push an event, then we load the backup stream. The problem: - With playlist two problems: 1. as long as an HLS stream is supported by the viewer environment JWP try to load the M3U8 and, event if it's 404 it don't move to the next playlist item, 2. This is done only one time, when loading so for fallback in case of live stream stops after loading this is not the good answer - With event catching: I'm only able to catch a 404 when first loading the stream. but if it loads correctly and then stops (so let say 404 on M3U8) JWP seem to not know it :( The solution: What could be a good test to see if a stream is still alive? - framerate - other ? Thank you Flav

Viewing all articles
Browse latest Browse all 2800

Trending Articles