Skip to content

Commit 5f8ef0b

Browse files
bbertnicosang
authored andcommitted
MediaPlayerModel: set keepProtectionMediaKeys by default to false
1 parent 6b97650 commit 5f8ef0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/streaming/models/MediaPlayerModel.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ function MediaPlayerModel() {
179179
cacheLoadThresholds = {};
180180
cacheLoadThresholds[Constants.VIDEO] = CACHE_LOAD_THRESHOLD_VIDEO;
181181
cacheLoadThresholds[Constants.AUDIO] = CACHE_LOAD_THRESHOLD_AUDIO;
182+
183+
keepProtectionMediaKeys = false;
182184
}
183185

184186
//TODO Should we use Object.define to have setters/getters? makes more readable code on other side.

0 commit comments

Comments
 (0)