Closed
Description
On Tizen 2016 model TV's, Shaka dispatches MANIFEST.RESTRICTIONS_CANNOT_BE_MET
, from Player#chooseStreams_
. There aren't any playable variants because it uses the webkit MediaKeys polyfill, which uses the fake KEY_ID_:
// Construct fake key ID. This is not done at load-time to avoid exceptions
// on unsupported browsers. This particular fake key ID was suggested in
// w3c/encrypted-media#32.
PatchedMediaKeysWebkit.MediaKeyStatusMap.KEY_ID_ =
(new Uint8Array([0])).buffer;
Thus none of the stream.keyId
keys exist in the keyStatusMap
in Player#onKeyStatus_
, here:
var keyStatus = keyStatusMap[stream.keyId];
variant.allowedByKeySystem = !!keyStatus && restrictedStatuses.indexOf(keyStatus) < 0;
...and thus the variant is restricted.
But playback proceeds anyway. Can you share any more information about the meaning of this error? I didn't dig further into what happens when the player dispatches this error, so I'm not sure if this is expected behaviour or not.
Thanks!