media: Enable Widevine L1 on Clank behind a feature

Desktop / Chromium - Xiaohan Wang [] - 14 June 2017 00:40 EDT

When AnroidOverlay is enabled and used by the media player, enable hardware secure codec support which will also enable L1 on Clank.

Whether AndroidOverlay is enabled will be checked at run-time. Whether media player uses AndroidOverlay is current controlled by a feature and will be enabled by default in the future. To enable this feature for testing, use


Cast on Android still has kForceVideoOverlays command line switch and L1 will always be supported (even without AndroidOverlay support). In a future Cast on Android will also switch to the AndroidOverlay model.

AndroidOverlay is not supported on WebView yet. This will be addressed separately in the future.


Change-Id: I8b20f460f7c2835874a01da1b068125a2fab88ac Reviewed-on:

d7a9d38 media: Enable Widevine L1 on Clank behind a feature
android_webview/browser/ | 2 +-
chrome/browser/ | 2 +-
chromecast/browser/ | 5 ++++-
components/cdm/browser/ | 16 ++++++++++++++--
components/cdm/browser/cdm_message_filter_android.h | 16 ++++++++--------
5 files changed, 28 insertions(+), 13 deletions(-)


  • Share