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-11761): expose stream timed metadata - phase 2 #512

Merged
merged 5 commits into from
Jan 12, 2022
Merged

Conversation

yairans
Copy link
Contributor

@yairans yairans commented Jan 9, 2022

Description of the Changes

use TimedMetadata from core
Change cuePointManager API's to use TimedMetadata instead of VttCue

Solves FEC-11761

Depends on kaltura/playkit-js#623

Breaking Change for -
kaltura/playkit-js-dual-screen#52
kaltura/playkit-js-kaltura-cuepoints#15

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

export interface CuePointManager {
getAllCuePoints(): Array<VTTCue>;
getAllCuePoints(): Array<CuePoint>;
getActiveCuePoints(): Array<VTTCue>;
Copy link
Contributor

Choose a reason for hiding this comment

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

getActiveCuePoints returns Array<CuePoint>

@@ -25,25 +19,27 @@ export class CuePointManager {
}

_createTextTrackCue(data: CuePoint): TextTrackCue {
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we not using the "private" indication here when methods are internal?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what is "private" indication?

yairans added a commit to kaltura/playkit-js-dual-screen that referenced this pull request Jan 12, 2022
use `CuePoint` from `TIMED_METADATA_CHANGE` instead of `VttCue` from `TIMED_METADATA`

Depends on kaltura/kaltura-player-js#512
yairans added a commit to kaltura/playkit-js-dual-screen that referenced this pull request Jan 12, 2022
use `CuePoint` from `TIMED_METADATA_CHANGE` instead of `VttCue` from `TIMED_METADATA`

Depends on kaltura/kaltura-player-js#512
yairans added a commit to kaltura/playkit-js-kaltura-cuepoints that referenced this pull request Jan 12, 2022
@yairans yairans merged commit dea6cbb into master Jan 12, 2022
@yairans yairans deleted the FEC-11761 branch January 12, 2022 17:58
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.

3 participants