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

fix(SUP-44638): [Vanguard] Media Stream Error in EP #221

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

inbalvasserman
Copy link

@inbalvasserman inbalvasserman commented Nov 21, 2024

ISSUE:
when use vtt captions there is internal error on console
this is cause in the function _onSubtitleFragProcessed where this._hls is null and so this._hls.subtitleTrack cannot be perform and throw the error

fix:
change context in off/on functions to be this and not this._hls
while captions are disabled add check for number of captions because when using 1 captions the event is not calling until enable the captions and then the captions are not seeing on screen

Resolves SUP-44638

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant