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

Prevent redundant CC parser restarts during Low Latency streams #4242

Merged

Conversation

m-buczek
Copy link
Contributor

Description:
Currently, in low latency streams, the sequence number is always set to 1, leading to redundant restarts of embeddedCea608FieldParsers. Consequently, most subtitles are not displayed as expected.

Proposed Solution:
To address this issue, I suggest implementing a check for the continuity of the chunks when the sequence number is always 1. By ensuring the proper continuity of the chunks, we can avoid unnecessary parser restarts and ensure the correct display of subtitles during low latency streams.

The solution is tested and works in production on many LL channels.

@dsilhavy
Copy link
Collaborator

@m-buczek Thanks for your PR. Following our contribution guidelines, and since this seems to be your first PR, could you please send me a signed copy of dash.js feedback agreement?

Note: If your company is a DASH-IF member you dont need to sign the CLA, contributions are covered by the DASH-IF membership.

@dsilhavy dsilhavy added this to the 4.7.2 milestone Jul 31, 2023
@m-buczek
Copy link
Contributor Author

m-buczek commented Aug 1, 2023

@dsilhavy Hey, I sent you the required document by e-mail.

@dsilhavy
Copy link
Collaborator

dsilhavy commented Aug 4, 2023

@dsilhavy Hey, I sent you the required document by e-mail.

@m-buczek Thanks, well received

The solution is tested and works in production on many LL channels.

Can you share a sample stream for me to validate the changes?

@dsilhavy dsilhavy self-requested a review August 4, 2023 08:52
@m-buczek
Copy link
Contributor Author

Unfortunately I don't have the ability to provide a stream for testing. The streams (of our clients) on which I tested the fix are DRM encrypted, additionally, geolocation blocks are used.

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.

2 participants