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 audio track switch where only characteristics differ #6963

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jan 18, 2025

This PR will...

Fix a bug where buffered audio with different characteristics are not flushed when audio track switch has the same name and language.

Why is this Pull Request needed?

Are there any points in the code the reviewer needs to double check?

Removed mediaAttributesIdentical and the old case that caused the problem in favor of matchesOption rendition-helper which does characteristics array comparison (just in case multiple characteristics are present but not in the same order).

Resolves issues:

Fixes #6962

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch modified the milestones: 1.5.20, 1.6.0 Jan 18, 2025
@robwalch robwalch merged commit 3ab7dba into master Jan 21, 2025
15 of 16 checks passed
@robwalch robwalch deleted the bugfix/alt-audio-switch-characterstics-only branch January 21, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switching audio tracks is not working properly
1 participant