-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(FEC-10160): filter unsupported formats from the configured tracks passed to the receiver #38
Conversation
language: caption.language | ||
}); | ||
return newTrack; | ||
if (this._playerConfig.sources.captions && this._playerConfig.sources.captions.length) { |
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.
LGTM.
But I would export all the external captions handling to a separate method since _getLoadOptions
start to become unreadable.
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.
done
src/cast-player.js
Outdated
return loadOptions; | ||
} | ||
|
||
_handleExternalCaptions() { |
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.
This method returns the external captions, so _getExternalCaptions
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.
done
…s passed to the receiver (#28) check track existence before selection Related to kaltura/playkit-js-cast-sender#38 Solves FEC-10160
Description of the Changes
Pass to the receiver
vtt
onlyRelated to kaltura/playkit-js-cast-receiver#28
Solves FEC-10160
CheckLists