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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: AC-3 audio codec support on Tizen #6166

Merged
merged 1 commit into from Jan 26, 2024

Conversation

Boubalou
Copy link
Contributor

馃摉 Description of the problem

A regression got introduced in version 4.2.7 where audio.codecs got rewrite (ref: #4858) with the corrected audio codecs.

After this change, the player tries to play the audio stream with codec EC-3 instead of AC-3 (the original value provided by the manifest representation) due to the current implementation of supporting AC-3 on Tizen.

馃摎 Fix

Delegating the check from ac-3 to ec-3 in stream_utils to the actual media capabilities polyfill so that when a system is requesting the support of AC-3 audio codec on Tizen, we change the capabilities to EC-3 and let it do its check.

馃摀 Reference

This completes the work on 馃悰 #6160.

馃棐 Note

It was tested locally on a real Samsung TV (Tizen 5.0) in our internal project using Shaka as well as a dumbed down project with Shaka only providing the manifest listed in the bug.

@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround platform: Tizen Issues affecting Tizen labels Jan 26, 2024
@avelad avelad added this to the v5.0 milestone Jan 26, 2024
@avelad avelad merged commit 08cc34a into shaka-project:main Jan 26, 2024
24 of 31 checks passed
@Boubalou Boubalou deleted the fix/tizen-ac-3 branch January 26, 2024 15:07
avelad pushed a commit that referenced this pull request Jan 30, 2024
avelad pushed a commit that referenced this pull request Jan 30, 2024
joeyparrish pushed a commit that referenced this pull request Feb 17, 2024
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Mar 26, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform: Tizen Issues affecting Tizen 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
3 participants