DescriptionEME: Update MediaKeySystemConfiguration defaults; check capabilities
The current EME spec has added defaults for some fields in
MediaKeySystemConfiguration, so update the code to specify
the defaults and match the latest algorithm.
As well, at least one of 'audioCapabilities' or 'videoCapabilities'
should be specified, so add a UseCounter if none are provided to
help determine when this can be enforced in the future.
Also update some of the EME tests to provide either
'audioCapabilities' or 'videoCapabilities' (or both)
when calling requestMediaKeySystemAccess().
BUG=616233
TEST=EME tests pass
Committed: https://crrev.com/2737b99610b13c7fcaad6ec3041cce4b538b372f
Cr-Commit-Position: refs/heads/master@{#422596}
Patch Set 1 #
Total comments: 8
Patch Set 2 : changes #
Total comments: 12
Patch Set 3 : Changes #Patch Set 4 : rebase #Patch Set 5 : fix Android compile #Messages
Total messages: 24 (10 generated)
|