-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 #3783 captions not working after a period transition on live DASH streams #3801
Merged
joeyparrish
merged 3 commits into
shaka-project:master
from
caridley:fixMissingCcForLiveDai
Dec 13, 2021
Merged
Fix #3783 captions not working after a period transition on live DASH streams #3801
joeyparrish
merged 3 commits into
shaka-project:master
from
caridley:fixMissingCcForLiveDai
Dec 13, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TheModMaker
reviewed
Dec 9, 2021
lib/text/text_engine.js
Outdated
if (id == this.selectedClosedCaptionId_) { | ||
// With multiperiod live DASH DAI streams a comma is appended to the | ||
// selectedClosedCaptionId string each time a new period appears in | ||
// the manifest e.g. "CC1,,," while the id value remains "CC1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is either a bug in the caption parser or your content. I don't think this should be handled here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok found and fixed the root cause
…e DASH DAI streams.
joeyparrish
approved these changes
Dec 13, 2021
joeyparrish
pushed a commit
that referenced
this pull request
Jan 5, 2022
…streams (#3801) Embedded CEA-608 captions don't work on multi period live DASH DAI streams after new periods appear in the manifest because commas are appended the streams originalId string, which disrupts some stream matching code in text_engine.js The problem has been resolved by preventing makeTextStreamsForClosedCaptions() from altering the PeriodCombiner.textStreams_ array. Fixes #3783 Change-Id: I0b99df9cf081a5ad340ac16344f5f0240633d683
joeyparrish
pushed a commit
that referenced
this pull request
Jan 5, 2022
…streams (#3801) Embedded CEA-608 captions don't work on multi period live DASH DAI streams after new periods appear in the manifest because commas are appended the streams originalId string, which disrupts some stream matching code in text_engine.js The problem has been resolved by preventing makeTextStreamsForClosedCaptions() from altering the PeriodCombiner.textStreams_ array. Fixes #3783 Change-Id: If34ff360dee76f03badef6a5b6c89751e1986285
joeyparrish
pushed a commit
that referenced
this pull request
Jan 5, 2022
…streams (#3801) Embedded CEA-608 captions don't work on multi period live DASH DAI streams after new periods appear in the manifest because commas are appended the streams originalId string, which disrupts some stream matching code in text_engine.js The problem has been resolved by preventing makeTextStreamsForClosedCaptions() from altering the PeriodCombiner.textStreams_ array. Fixes #3783 Change-Id: I9abce3f34bf45d506325c13cb06c550d556c2d62
github-actions
bot
added
the
status: archived
Archived and locked; will not be updated
label
Jul 25, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #3783
Embedded CEA-608 captions don't work on multi period live DASH DAI streams after new periods appear in the manifest because commas are appended the streams originalId string, which disrupts some stream matching code in text_engine.js
The problem has been resolved by preventing makeTextStreamsForClosedCaptions() from altering the PeriodCombiner.textStreams_ array.
Screenshots (optional)
NA
Type of change
Checklist:
./build/all.py
and the build passes./build/test.py
and all tests pass