Skip to content
Commit 318370c1 authored by yucliu's avatar yucliu Committed by Commit Bot
Browse files

[Chromecast] Widevine decrypt supports both clear and secure output

For OEMs supporting OEMCrypto_DecryptCENC, we should be able to get both
clear and secure output, as far as it enforces the license policy.

On devices with audio mixer, cast will use clear audio buffer and
secured video buffer.

CMA backend can use DecryptContext::Decrypt to decrypt data into a
secured buffer.

CMA pipeline can use DecryptContextImpl::DecryptAsync to decrypt data
into a clear buffer.

BUG=internal b/72180017
TEST=encrypted stream playback, cast_cdm_widevine_test

Change-Id: I78a77cd7bfbdfb421cf5c6a6a651a01397c55dc0
Reviewed-on: https://chromium-review.googlesource.com/985031


Reviewed-by: default avatarSergey Volk <servolk@chromium.org>
Commit-Queue: Sergey Volk <servolk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546884}
parent d402353b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment