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(FEC-12243): simulive - The live stream will show the captions from the Simulive entry #178

Merged
merged 3 commits into from
May 25, 2022

Conversation

lianbenjamin
Copy link
Contributor

Description of the Changes

the issue:
when playing simulive entry with external captions and the player fallbacks to real live stream - the captions from the simulive entry are displayed on the live stream.

the solution:
add captions source to the mediaEntry sources only if the media type is not live.
Note- needed to move fillBaseData before the if block in order to have mediaEntry.type initialized.

Solves FEC-12243

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

@lianbenjamin lianbenjamin requested a review from yairans May 23, 2022 08:53
Copy link
Contributor

@yairans yairans left a comment

Choose a reason for hiding this comment

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

LGTM please add tests

@lianbenjamin lianbenjamin requested a review from yairans May 23, 2022 12:32
@lianbenjamin lianbenjamin merged commit 8339e96 into master May 25, 2022
@lianbenjamin lianbenjamin deleted the FEC-12243-simulive-external-captions branch May 25, 2022 09:28
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.

2 participants