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

Bugfix: CC of low latency streams not displayed correctly #4298

Merged

Conversation

hongfeih-es
Copy link
Contributor

@hongfeih-es hongfeih-es commented Aug 30, 2021

This PR will...

Fix issue of CC of low latency streams not displayed correctly

Why is this Pull Request needed?

cea608parser will be reset when sn of currently loaded fragment is not as same as last sn + 1, which is wrong for low latency streams. For low latency case, parts of a segment is loaded with same sn, cea608parser shouldn't be reset.

if (sn !== lastSn + 1) {
cea608Parser1.reset();
cea608Parser2.reset();
}
this.lastSn = sn as number;

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

No.

Resolves issues:

#4297

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

@hongfeih-es hongfeih-es changed the title fix: show cc with low latency stream. fix: CC of low latency streams not displayed correctly Aug 30, 2021
@hongfeih-es hongfeih-es changed the title fix: CC of low latency streams not displayed correctly Bugfix: CC of low latency streams not displayed correctly Aug 30, 2021
@robwalch robwalch added this to the 1.1.2 milestone Dec 13, 2021
@robwalch robwalch merged commit 91e8086 into video-dev:master Dec 13, 2021
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.

None yet

2 participants