shaka-project / shaka-player

JavaScript player library / DASH & HLS client / MSE-EME player
Apache License 2.0
7.13k stars 1.33k forks source link

DASH AV1 only works in Firefox and not on other browsers #3806

Closed radiantmediaplayer closed 2 years ago

radiantmediaplayer commented 2 years ago

Have you read the FAQ and checked for duplicate open issues? Y

What version of Shaka Player are you using? 3.2.1

Can you reproduce the issue with our latest release version? Y

Can you reproduce the issue with the latest code from master? Not tried

Are you using the demo app or your own custom app? Demo app

If custom app, can you reproduce the issue using our demo app?

What browser and OS are you using? Version 96.0.4664.110 (Official Build) (64-bit) Chrome on latest Windows 11

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs? removed

What configuration are you using? What is the output of player.getConfiguration()? removed

What did you do? I tried to play the above DASH stream that holds AV1/AAC in MP4 container content. It played on Firefox 95 but it did not play in Chrome 96. I also tried in latest Opera and it did not play there as well.

What did you expect to happen? The DASH/AV1 stream to play on all browsers where MSE and AV1 are supported.

What actually happened? It only worked in Firefox. I am wondering if there is anything that should be passed/adapted to MSE to make it work on all browsers where MSE and AV1 is supported. You can check at https://www.radiantmediaplayer.com/checkcodecs.html that Chrome, FF and Opera should play AV1 in MSE. When it did not play it failed with error

category: 4
code: 4032
data: []
handled: false
message: "Shaka Error MANIFEST.CONTENT_UNSUPPORTED_BY_BROWSER ()"
severity: 2
stack: "Error: Shaka Error MANIFEST.CONTENT_UNSUPPORTED_BY_BROWSER ()\n    at new shaka.util.Error (https://shaka-player-demo.appspot.com/lib/util/error.js:94:17)\n  
radiantmediaplayer commented 2 years ago

I am going to close this. We are now using Shaka Packager (instead of MP4Box) for our test DASH streams and we are able to play our DASH AV1 (in MP4 or WebM containers) streams in most browsers - with the exception of MS Edge and Safari that currently do not support AV1 with MSE - isTypeSupported return false.