Skip to content

Commit

Permalink
Use util to keep unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyparrish committed May 17, 2022
1 parent c7a418a commit f23640a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/util/player_configuration.js
Expand Up @@ -67,7 +67,9 @@ shaka.util.PlayerConfiguration = class {
advanced: {}, // key is arbitrary key system ID, value is a record type
delayLicenseRequestUntilPlayed: false,
initDataTransform: (initData, initDataType, drmInfo) => {
return initData;
return shaka.util.ConfigUtils.referenceParametersAndReturn(
[initData, initDataType, drmInfo],
initData);
},
logLicenseExchange: false,
updateExpirationTime: 1,
Expand Down

0 comments on commit f23640a

Please sign in to comment.