w3c / encrypted-media

Encrypted Media Extensions
https://w3c.github.io/encrypted-media/
Other
177 stars 79 forks source link

Fix refs to `hardware-context-reset` and `internal-error` #548

Closed tidoust closed 1 month ago

tidoust commented 1 month ago

The prose incorrectly referenced {{MediaKeyStatus/"hardware-context-reset"}} which does not exist, instead of using the MediaKeySessionClosedReason enum.

The CDM Unavailable algorithm takes a MediaKeySessionClosedReason value as input, so the references to {{MediaKeyStatus/"internal-error"}} were incorrect too.

In practice, it's not clear to me that the "internal-error" value for MediaKeyStatus is still useful. Nothing ever sets the status to that value in the specification in particular. I left it in for now but perhaps it can be dropped entirely?


Preview | Diff