Chromium Code Reviews
Descriptionmedia: Allow config change between clear and encrypted streams
In the demuxer, we allow DecryptConfig change upon config change,
including but not limited to:
- switching between clear and encrypted
- encryption scheme change
Media Renderer implementation should support such changes. The detailed
requirement from the spec's perspective is tracked at:
https://github.com/w3c/encrypted-media/issues/251
Currently the default media Renderer (RendererImpl) supports switching
from encrypted to clear, because:
- Decrypt-and-decode mode: Decrypting{Audio|Video}Decoder supports clear
buffer.
- Decrypt-only mode: DecryptingDemuxerStream supports clear buffer.
However, switching from clear to encrypted is not supported in
RendererImpl, because the clear decoder doesn't support decryption. This
will be fixed in a later CL.
BUG=597443
TEST=Updated pipeline_integration_tests.
Review-Url: https://codereview.chromium.org/2543623003
Cr-Commit-Position: refs/heads/master@{#451212}
Committed: https://chromium.googlesource.com/chromium/src/+/65c23034a1deaa9b221ef98928925bee36304fd6
Patch Set 1 #Patch Set 2 : more changes #Patch Set 3 : media: Allow config change between clear and encrypted streams #
Total comments: 16
Patch Set 4 : rebase only #Patch Set 5 : comments addressed & tests added #Patch Set 6 : rebase only #Patch Set 7 : media: Allow config change between clear and encrypted streams #Patch Set 8 : media: Allow config change between clear and encrypted streams #
Total comments: 36
Patch Set 9 : rebase only #Patch Set 10 : disable clear-to-encrypted browser test #Patch Set 11 : comments addressed #
Total comments: 2
Patch Set 12 : comments addressed #
Total comments: 4
Patch Set 13 : comments addressed #Messages
Total messages: 84 (54 generated)
|