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-11666): Primary + Redirect token reports #6

Merged
merged 4 commits into from
Nov 2, 2021
Merged

Conversation

yairans
Copy link
Contributor

@yairans yairans commented Nov 1, 2021

Description of the Changes

fire SOURCE_URL_SWITCHED event with the original URL and the updated one

Depends on kaltura/playkit-js#613

Solves FEC-11166

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 requested a review from OrenMe November 1, 2021 11:46
@yairans yairans self-assigned this Nov 1, 2021
src/broadpeak.js Outdated
const updatedUrl = result.getURL();
this.logger.debug('getUrl response', updatedUrl);
this.sourceChangeCallback(updatedUrl);
this.dispatchEvent(this.player.Event.SOURCE_URL_SWITCHED, {origUrl: playbackUrl, updatedUrl});
Copy link
Contributor

Choose a reason for hiding this comment

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

lets use full names - originalUrl

@yairans yairans requested review from OrenMe and a team November 2, 2021 09:07
yairans added a commit to kaltura/playkit-js that referenced this pull request Nov 2, 2021
@yairans yairans merged commit a440dd3 into master Nov 2, 2021
@yairans yairans deleted the FEC-11666 branch November 2, 2021 10:36
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.

None yet

3 participants