The <video> tag for instance doesn't support MPEG-DASH and HLS (outside of Edge and Safari). So if you want to do DRM or live streaming, that isn't supported. Thats why this project bundles shaka-player and hls.js
Two years ago when we checked out the DASH and HLS support in Edge it turned out to be so unreliable we still just went with Shaka instead.
Fun fact: besides FairPlay compatibility, HLS in Safari is way more annoying to deal with than HLS via hls.js in browsers that don't natively support it. Safari provides you way less information about what's happening stream/buffer wise, and if you work with HLS event streams you need a ton of hacks to make it behave correctly.
Yes, that is what is used with MPEG-DASH and HLS too. But none of the DRM systems implemented (beyond ClearKey) is used on just pure MP4 files. So while EME works in either case, nobody is doing it with the file formats natively supported. It's pretty much always in combination with https://developer.mozilla.org/en-US/docs/Web/API/Media_Sourc...
Comments
The <video> tag for instance doesn't support MPEG-DASH and HLS (outside of Edge and Safari). So if you want to do DRM or live streaming, that isn't supported. Thats why this project bundles shaka-player and hls.js
Two years ago when we checked out the DASH and HLS support in Edge it turned out to be so unreliable we still just went with Shaka instead.
Fun fact: besides FairPlay compatibility, HLS in Safari is way more annoying to deal with than HLS via hls.js in browsers that don't natively support it. Safari provides you way less information about what's happening stream/buffer wise, and if you work with HLS event streams you need a ton of hacks to make it behave correctly.
You can use DRM and html5 video, https://en.wikipedia.org/wiki/Encrypted_Media_Extensions
" This allows the use of HTML5 video to play back DRM-wrapped content such as streaming video services "
Yes, that is what is used with MPEG-DASH and HLS too. But none of the DRM systems implemented (beyond ClearKey) is used on just pure MP4 files. So while EME works in either case, nobody is doing it with the file formats natively supported. It's pretty much always in combination with https://developer.mozilla.org/en-US/docs/Web/API/Media_Sourc...