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

fix: Fix detection of flac support on Safari #6250

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

jmswaney
Copy link
Contributor

@jmswaney jmswaney commented Feb 16, 2024

When constructing the MediaDecodingConfigurations to query media capabilities in stream_utils.js, the spelling of "fLaC" should not change to "flac" on Safari. This is because on Safari the query will return supported: false for "flac" but supported: true for "fLaC".

This change allows manifests with "fLaC" codecs to work properly on Safari when using MSE / Managed Media Source.

Fixes #6249

@joeyparrish
Copy link
Member

The CI didn't run on this PR automatically because it's your first on the project. Once I check the test results, I'll merge it.

Thanks for your contribution!

@joeyparrish joeyparrish changed the title fix: flac variants have incorrect media decoding configs on safari fix: Fix detection of flac support on Safari Feb 16, 2024
@joeyparrish joeyparrish added type: bug Something isn't working correctly priority: P1 Big impact or workaround impractical; resolve before feature release browser: Safari Issues affecting Safari or WebKit derivatives labels Feb 16, 2024
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 100.00%

@joeyparrish joeyparrish merged commit bb712c0 into shaka-project:main Feb 16, 2024
17 of 20 checks passed
@jmswaney jmswaney deleted the jmswaney-issue-6249 branch February 16, 2024 03:24
joeyparrish pushed a commit that referenced this pull request Feb 17, 2024
When constructing the MediaDecodingConfigurations to query media capabilities in `stream_utils.js`, the spelling of "fLaC" should not change to "flac" on Safari. This is because on Safari the query will return `supported: false` for "flac" but `supported: true` for "fLaC".

This change allows manifests with "fLaC" codecs to work properly on Safari when using MSE / Managed Media Source.

Fixes #6249

Backported to v4.3.x
joeyparrish pushed a commit that referenced this pull request Feb 20, 2024
When constructing the MediaDecodingConfigurations to query media capabilities in `stream_utils.js`, the spelling of "fLaC" should not change to "flac" on Safari. This is because on Safari the query will return `supported: false` for "flac" but `supported: true` for "fLaC".

This change allows manifests with "fLaC" codecs to work properly on Safari when using MSE / Managed Media Source.

Fixes #6249
joeyparrish pushed a commit that referenced this pull request Feb 20, 2024
When constructing the MediaDecodingConfigurations to query media capabilities in `stream_utils.js`, the spelling of "fLaC" should not change to "flac" on Safari. This is because on Safari the query will return `supported: false` for "flac" but `supported: true` for "fLaC".

This change allows manifests with "fLaC" codecs to work properly on Safari when using MSE / Managed Media Source.

Fixes #6249
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 16, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Apr 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
browser: Safari Issues affecting Safari or WebKit derivatives priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FLAC variants have incorrect media decoding configs on Safari
3 participants