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

feat(FEC-10160): filter unsupported formats from the configured tracks passed to the receiver #38

Merged
merged 5 commits into from
Jun 28, 2020

Conversation

yairans
Copy link
Contributor

@yairans yairans commented Jun 28, 2020

Description of the Changes

Pass to the receiver vtt only

Related to kaltura/playkit-js-cast-receiver#28
Solves FEC-10160

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@yairans yairans changed the title Fec 10160 feat(FEC-10160): filter unsupported formats from the configured tracks passed to the receiver Jun 28, 2020
@yairans yairans requested review from a team and dan-ziv June 28, 2020 10:33
@yairans yairans self-assigned this Jun 28, 2020
language: caption.language
});
return newTrack;
if (this._playerConfig.sources.captions && this._playerConfig.sources.captions.length) {
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

return loadOptions;
}

_handleExternalCaptions() {
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

yairans added a commit to kaltura/playkit-js-cast-receiver that referenced this pull request Jun 28, 2020
…s passed to the receiver (#28)

check track existence before selection 

Related to kaltura/playkit-js-cast-sender#38
Solves FEC-10160
@yairans yairans merged commit 4574e9d into master Jun 28, 2020
@yairans yairans deleted the FEC-10160 branch June 28, 2020 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants