-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs for 6014 EXPIRED seem inaccurate #1319
Comments
However, I just noticed this in the spec (emphasis added):
https://www.w3.org/TR/encrypted-media/#dom-mediakeystatus-expired |
The part about 'waitingforkey' is clearly out of date and should be fixed. We used to listen for 'waitingforkey' events specifically to detect a situation when the license server or proxy had a bug and the wrong keys were delivered. We ultimately had to remove that feature because of false negatives. I think the other details are out of date, as well. As you noted, all keys in a session have the same expiration time, so they all become expired at once. But keys in different sessions can expire separately. Although our docs say "any key in any active session", the current behavior is that we fire the
What do you think? |
(Happy to have a PR, BTW) |
Sounds good. |
Cherry-picked for v2.3.3. |
The docs for EXPIRED say:
I think this explanation has a couple issues:
waitingforkey
(also, no s), it listens forkeystatuseschange
, then checks if keys are expiredHave I misunderstood? I can submit a PR to update if you agree.
The text was updated successfully, but these errors were encountered: