Skip to content

Commit

Permalink
feat(FEC-11666): Primary + Redirect token reports (#613)
Browse files Browse the repository at this point in the history
expose new event - `SOURCE_URL_SWITCHED`

Used by kaltura/playkit-js-broadpeak-smartlib#6

Solves FEC-11166
  • Loading branch information
yairans authored Nov 2, 2021
1 parent ef16680 commit 88f13b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/event/event-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,11 @@ const CustomEventType: PKEventTypes = {
/**
* Fired when the drm license is responded from the DRM server
*/
DRM_LICENSE_LOADED: 'drmlicenseloaded'
DRM_LICENSE_LOADED: 'drmlicenseloaded',
/**
* Fired when the source url switched
*/
SOURCE_URL_SWITCHED: 'sourceurlswitched'
};

const EventType: PKEventTypes = Utils.Object.merge([Html5EventType, CustomEventType, AdEventType]);
Expand Down

0 comments on commit 88f13b0

Please sign in to comment.