Descriptionmedia: CdmFactory creates CDM (MediaKeys) asynchronously.
This CL fixes the EME stack down to CdmFactory. The real aync CDM creation
will be fixed in a separate CL.
For unprefixed EME, since it's promise based, async creation of CDM fits easily.
For prefixed EME, GenerateKeyRequest() can be called multiple times without
waiting for the real CDM to be created/loaded. ProxyDecryptor is modified to
handle this case.
BUG=469003
TEST=All existing tests pass.
Committed: https://crrev.com/9bd8c733478345d0331fcdfd79e0bc61e22be68a
Cr-Commit-Position: refs/heads/master@{#324942}
Patch Set 1 #Patch Set 2 : rebase only #
Total comments: 14
Patch Set 3 : Fix Android. #Patch Set 4 : comments addressed #
Total comments: 9
Patch Set 5 : rebase and comments addressed #Patch Set 6 : use ScopedVector #Messages
Total messages: 23 (8 generated)
|