streamroot / videojs-hlsjs-plugin

hls.js Source Handler for video.js 5
http://www.streamroot.io
MIT License
155 stars 80 forks source link

How can i Auto Switch HLS ABR? #34

Closed ravituvar closed 7 years ago

ravituvar commented 7 years ago

I have a case, like I am pushing Two ABR Streams on my Server. The Stream works fine if i keep both the streams pushing, if in case i am not pushing one stream(Specifically lower bitrate), the the player gives me error and it does not auto switch to the another stream(Higher bitrate), is there any way to handle if any one stream is not being pushed then it should autoswitch to next available stream?

ravituvar commented 7 years ago

Anyone can help me out on this?

jlouazel commented 7 years ago

Hey @ravituvar, sorry for the delay. Can you provide me more information about the error you get?

ravituvar commented 7 years ago

i am getting 404 on the Lower stream, as the stream is not being pushed, but the player should auto switch to Higher bandwidth stream or next available stream if any stream is not found in ABR case..

jlouazel commented 7 years ago

Seems related to hls.js (https://github.com/video-dev/hls.js/issues/573). We gonna switch to hls.js@0.6.21 in the next few days which seems to solve this issue.

I'm closing this issue as this is not directly related to this repository, you can follow #35 to stay tuned on the move we gonna take.