videojs / videojs-contrib-quality-levels

Other
157 stars 51 forks source link

Frequently changed quality proving error #21

Closed sudhyer closed 7 years ago

sudhyer commented 7 years ago

I have added quality level plugin with custom UI. when I am changing quality frequently then getting error.

Can not read property 'playlist' undefined in 3800 line of hls plugin.

error

mjneil commented 7 years ago

Sounds like the issue this is trying to fix https://github.com/videojs/videojs-contrib-hls/pull/1207 In the mean time, I would suggest making sure there is at least one quality enabled. If you are cycling through the levels and disabling them all before enabling the desired, try making sure that the one that is already enabled stays enabled until youve also enabled the desired level

sudhyer commented 7 years ago

Thanks mjneil. I think I was disabling all quality first then enabled. now fixed.