You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Find key status in another session if missing (PlayReady #7519 no key-status "single-key" setup with shared key)
949
+
const{ mediaKeySessions }=this;
950
+
for(leti=0;i<mediaKeySessions.length;i++){
951
+
constkeyStatuses=mediaKeySessions[i].keyStatuses;
952
+
if(keyIdinkeyStatuses){
953
+
this.log(
954
+
`No status for keyId ${keyId} in session ${context.mediaKeysSession.sessionId}. Using session key-status ${keyStatuses[keyId]} from session ${mediaKeySessions[i].mediaKeysSession.sessionId}.`,
955
+
);
956
+
returnhandleKeyStatus(keyStatuses[keyId]);
957
+
}
958
+
}
959
+
// Timeout key with internal-error
948
960
this.log(
949
-
`key status for ${keyId} in session ${context.mediaKeysSession.sessionId} timed out after 5s.`,
961
+
`key status for ${keyId} in session ${context.mediaKeysSession.sessionId} timed out after ${timeout}ms`,
950
962
);
951
963
keyStatus='internal-error';
952
964
}
965
+
953
966
handleKeyStatus(keyStatus);
954
967
},timeout);
955
968
this.log(
956
-
`No status for keyId ${keyId}. Using session key-status ${keyStatus} (${stringify(context.keyStatuses)}).`,
969
+
`No status for keyId ${keyId}. Using key-status ${keyStatus} (${stringify(context.keyStatuses)}).`,
0 commit comments