Skip to content

Commit

Permalink
Make default value for parseInbandPsshEnabled true for XboxOne
Browse files Browse the repository at this point in the history
  • Loading branch information
caridley committed Oct 3, 2022
1 parent 1b6c4fa commit 927c933
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/util/player_configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ shaka.util.PlayerConfiguration = class {
updateExpirationTime: 1,
preferredKeySystems: [],
keySystemsMapping: {},
parseInbandPsshEnabled: false,
// The Xbox One browser does not detect DRM key changes signalled by a
// change in the PSSH in media segments. We need to parse PSSH from media
// segments to detect key changes.
parseInbandPsshEnabled: shaka.util.Platform.isXboxOne(),
};

const manifest = {
Expand Down

0 comments on commit 927c933

Please sign in to comment.