Skip to content

Commit

Permalink
fix(FEC-11140): DRM scheme might be incorrect in DRM_LICENSE_LOADED e…
Browse files Browse the repository at this point in the history
…vent (#155)
  • Loading branch information
Dan Ziv committed Jun 7, 2021
1 parent 87510b2 commit bb6c018
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dash-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import shaka from 'shaka-player';
import {
AudioTrack,
BaseMediaSourceAdapter,
DrmScheme,
Error,
EventType,
RequestType,
Expand Down Expand Up @@ -1228,7 +1227,7 @@ export default class DashAdapter extends BaseMediaSourceAdapter {
_onDrmSessionUpdate(): void {
this._trigger(EventType.DRM_LICENSE_LOADED, {
licenseTime: this._shaka.getStats().licenseTime,
scheme: DrmScheme.WIDEVINE
scheme: this._shaka.drmInfo().keySystem
});
}

Expand Down

0 comments on commit bb6c018

Please sign in to comment.