videojs / videojs-contrib-hls

HLS library for video.js
http://videojs.github.io/videojs-contrib-hls/
Other
2.84k stars 792 forks source link

Why videojs-contrib-hls does not walk Hls.xhr.beforeRequest under IOS #1384

Closed huanghanzhilian closed 6 years ago

huanghanzhilian commented 6 years ago

Why videojs-contrib-hls does not walk Hls.xhr.beforeRequest under IOS

I now bring token on the encrypted key, and all the devices are so good. Only IOS will be wrong, it should be key to check the non - parameters. In the case of IOS, the m3u8 is played directly, and the hls.xhr code is not taken.

gkatsev commented 6 years ago

iOS does not support MSE and videojs-contrib-hls will defer to native implementations when available (at least on Safari on desktop). Also answered in https://github.com/videojs/videojs-contrib-hls/issues/1216#issuecomment-319209490 and https://github.com/videojs/videojs-contrib-hls/issues/1280#issuecomment-372819768

huanghanzhilian commented 6 years ago

Thank you, let me unlock the doubt.