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?
The prose incorrectly referenced
{{MediaKeyStatus/"hardware-context-reset"}}
which does not exist, instead of using theMediaKeySessionClosedReason
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 forMediaKeyStatus
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