w3c / encrypted-media

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

Add "usable-in-future" to MediaKeyStatus #451

Closed xhwang-chromium closed 3 years ago

xhwang-chromium commented 5 years ago

There are cases where we could have a license containing a key whose start time is in the future, e.g. to support key rotation. In the current spec, there's no corresponding MediaKeyStatus for this case. It's not "usable", so the closest one is "expired", which looks really odd.

Therefore, I am proposing that we add a new MediaKeyStatus "usable-in-future" to solve this issue.

For the reference, Android MediaDrm also added STATUS_USABLE_IN_FUTURE in Android Q.

joeyparrish commented 4 years ago

Sounds good to me. Any other opinions? @gregwfreedman, what are your thoughts?

gregwfreedman commented 4 years ago

this also sounds good to me.

xhwang-chromium commented 4 years ago

What's the next step for this? Shall we discuss about it in the Media WG meeting? Or shall I go ahead to send a pull request for the spec?

joeyparrish commented 3 years ago

I was out last week, but now that I'm back, I see this is on the Media WG agenda. So let's discuss in the WG, and if there are no objections or further feedback from the group, I would be happy to review a PR from you.

joeyparrish commented 3 years ago

No objections raised in the WG.