-
Notifications
You must be signed in to change notification settings - Fork 306
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
Sometimes IllegalArgumentException thrown, when parsing DASH manifest file with AC3 stream. #677
Labels
Comments
Thanks for your detailed report. Can you provide us with a URI to the media so we can provide a fix and test with it? |
Support for the story |
Hello, unfortunately I can not provide media URI by the security reasons (( |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
ExoPlayer 2.19.1
More version details
No response
Devices that reproduce the issue
Android 12 STB
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Play DASH stream with E-AC3-JOC audio or with audio with unknown channel count.
The following exception is thrown during processing of period data:
The function iterates from DEFAULT_MAX_CHANNEL_COUNT, which now is 10 to 1 and trying to create AudioFormat, setting the channel mask with given channel count, but Util.getAudioTrackChannelConfig() for input parameter 9 returns AudioFormat.CHANNEL_INVALID, which leads to exception.
The issue happened after May 25 2023, when DEFAULT_MAX_CHANNEL_COUNT was changed from 8 to 10.
The possible fix:
Expected result
Media stream is played correctly.
Actual result
Playback error
Media
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: