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

Pushing fix for CC cues not stopping when switching media #864

Merged
merged 1 commit into from Dec 6, 2016

Conversation

turbidwater
Copy link
Contributor

When I have two sources with inline CC, swapping between them causes some CC from the previous source to appear mixed in with the CC of the new source, and continue to update. I am calling detachMedia before swapping to the new source. For VOD to VOD swaps, this mixing lasts only for a couple of fragments. For Live to VOD, I am seeing lingering mixing that lasts for a longer time.

By clearing the cues on the detach media listener in TimelineController, it stops the lingering CC cues. I have tested this with VOD to VOD, live to VOD and VOD to live and it appears to solve the issue.

@mangui
Copy link
Member

mangui commented Dec 6, 2016

thanks @turbidwater
LGTM

@mangui mangui merged commit b10eed9 into video-dev:master Dec 6, 2016
@turbidwater
Copy link
Contributor Author

Thank you!

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