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 AAC overflow when it occurs at ADTS header #4781

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jul 11, 2022

This PR will...

Fix playback of HLS streams with MPEGTS segments when AAC overflow occurs within the ADTS header.

Why is this Pull Request needed?

Without this fix data is dropped before being appended which can lead to buffer/decoder corruption (see #4732).

Resolves issues:

Fixes #4732
Relates to #4506

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 added this to the 1.2.0 milestone Jul 11, 2022
@robwalch robwalch requested review from cjpillsbury and itsjamie July 11, 2022 22:59
@robwalch robwalch merged commit 9d66046 into master Jul 14, 2022
@robwalch robwalch deleted the bugfix/ts-adts-acc-overflow branch July 14, 2022 18:21
littlespex pushed a commit to cbsinteractive/hls.js that referenced this pull request Dec 9, 2022
With this, if you build Shaka Player with "-@cast", the UI will contain
a dummy cast proxy that does not require the full cast system.
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.

bufferAppendError due to unknown issue with audio codec in Chrome browser
1 participant