Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp4; codecs="hev1.2.4.L150.90"') is unsupported. #3860

Closed
radiantmediaplayer opened this issue Jan 13, 2022 · 1 comment · Fixed by #3897 or #4009
Labels
browser: Edge Issues affecting Microsoft Edge (any version) priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@radiantmediaplayer
Copy link

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

What version of Shaka Player are you using?
3.3.0

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?
custom app but the issue can be seen on demo app

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

What browser and OS are you using?
MS Edge 97 for windows 11

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

What are the manifest and license server URIs?
Try to play Multi-DRM tears of steel from demo app: https://shaka-player-demo.appspot.com/demo/#audiolang=fr;textlang=fr;uilang=fr;asset=https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest.mpd;panel=ALL_CONTENT;build=uncompiled

What configuration are you using? What is the output of player.getConfiguration()?
Default for demo app

What did you do?
Load content

What did you expect to happen?
Content plays

What actually happened?
No play but an error showing up Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp4; codecs="hev1.2.4.L150.90"') is unsupported.
I am able to confirm that this issue was NOT in 3.1.3. This could have something to do with the filtering for MediaCapabilities as Shaka player tries to play the HEVC variant where MS Edge for Windows 11 only supports AVC as of now.

@radiantmediaplayer radiantmediaplayer added the type: bug Something isn't working correctly label Jan 13, 2022
@shaka-bot shaka-bot added this to the v3.3 milestone Jan 13, 2022
@TheModMaker TheModMaker added browser: Edge Issues affecting Microsoft Edge (any version) priority: P2 Smaller impact or easy workaround labels Jan 21, 2022
joeyparrish pushed a commit that referenced this issue Jan 25, 2022
The proposed solution checks that all variants, apart from being checked in mediaCapabilities.decodingInfo, are also checked with MediaSource.isTypeSupported

There are some browser implementations that return a true mediaCapabilities.decodingInfo for unknown mimetypes and codecs and that can cause an application-level problem. For example, EDGE on Windows 10 returns true to HEVC even if you don't have the extension installed to support HEVC, instead MediaSource.isTypeSupported does take this into account

Fixes: #3860
@radiantmediaplayer
Copy link
Author

Thanks for the fix.

joeyparrish pushed a commit that referenced this issue Jan 28, 2022
The proposed solution checks that all variants, apart from being checked in mediaCapabilities.decodingInfo, are also checked with MediaSource.isTypeSupported

There are some browser implementations that return a true mediaCapabilities.decodingInfo for unknown mimetypes and codecs and that can cause an application-level problem. For example, EDGE on Windows 10 returns true to HEVC even if you don't have the extension installed to support HEVC, instead MediaSource.isTypeSupported does take this into account

Fixes: #3860
joeyparrish pushed a commit that referenced this issue Jan 28, 2022
The proposed solution checks that all variants, apart from being checked in mediaCapabilities.decodingInfo, are also checked with MediaSource.isTypeSupported

There are some browser implementations that return a true mediaCapabilities.decodingInfo for unknown mimetypes and codecs and that can cause an application-level problem. For example, EDGE on Windows 10 returns true to HEVC even if you don't have the extension installed to support HEVC, instead MediaSource.isTypeSupported does take this into account

Fixes: #3860
joeyparrish pushed a commit that referenced this issue Jan 28, 2022
The proposed solution checks that all variants, apart from being checked in mediaCapabilities.decodingInfo, are also checked with MediaSource.isTypeSupported

There are some browser implementations that return a true mediaCapabilities.decodingInfo for unknown mimetypes and codecs and that can cause an application-level problem. For example, EDGE on Windows 10 returns true to HEVC even if you don't have the extension installed to support HEVC, instead MediaSource.isTypeSupported does take this into account

Fixes: #3860
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Mar 26, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 26, 2022
@avelad avelad modified the milestones: v3.3, v4.0 May 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
browser: Edge Issues affecting Microsoft Edge (any version) priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
4 participants