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

Emit FRAG_PARSING_ERROR on unsupported M2TS codec #6447

Merged

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented May 24, 2024

This PR will...

Emit FRAG_PARSING_ERROR on unsupported M2TS codec. Include frag reference in error event when enableWorker is false.

Why is this Pull Request needed?

When EC-3 is encountered in MPEG-2 TS segments a warning is logged, but the result is handled like an empty segment (gap) rather than a standard FRAG_PARSING_ERROR error which calls for a variant or rendition change.

Throwing from the demuxer is handled by emitting FRAG_PARSING_ERROR. The error is handled as an audio codec error provided the frag reference is present in the error event payload.

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

Resolves issues:

Fixes #6445

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.5.9 milestone May 24, 2024
@robwalch robwalch force-pushed the bugfix/emit-frag-parsing-error-on-unsupported-ts-codec branch from 696b36c to 20978f1 Compare May 24, 2024 19:40
@robwalch robwalch force-pushed the bugfix/emit-frag-parsing-error-on-unsupported-ts-codec branch from 20978f1 to 1257ac2 Compare May 24, 2024 19:46
@robwalch robwalch merged commit 5d2f57c into master May 24, 2024
16 checks passed
@robwalch robwalch deleted the bugfix/emit-frag-parsing-error-on-unsupported-ts-codec branch May 24, 2024 22:19
robwalch added a commit that referenced this pull request May 24, 2024
robwalch added a commit that referenced this pull request May 31, 2024
* patch/v1.5.x:
  Update github actions
  chore(deps): update tjenkinson/gh-action-auto-merge-dependency-updates action to v1.4.2 (#6333)
  Emit FRAG_PARSING_ERROR on unsupported M2TS codec (#6447)
  Fix JS AES fallback when browserCrypto.subtle returns undefined (rather than null) (#6446)
  Fix 608 caption TextTrack Cue seek/discontinuity timing regression introduced in v1.5.0 with #5557
  Fix 608 parser handling of redundant control codes Fixes #6427
  Fix backtracking when an appended segment has no buffered timerange (#6434)
  Fix missing details if subtitle changed synchronously after loaded and before onLoaded callback (#6424)
  Bugfix: Handle irregular white-space in segment URIs (#6396)
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.

Player does not play on LG, Xbox and Samsung
1 participant