• Xiaohan Wang's avatar
    PlayReady on Android requires hardware secure codecs · 444a1efa
    Xiaohan Wang authored
    Today we always use hardware secure codecs for non-Widevine key systems.
    This is DCHECKed in AndroidCdmFactory::Create() when we create
    MediaDrmBridge for PlayReady key system. Also, in
    MediaDrmBridge::IsSecureCodecRequired(), we always return true for
    non-Widevine key systems including PlayReady.
    
    This CL updates PlayReadyKeySystemProperties to always return
    HW_SECURE_CODECS_REQUIRED in GetRobustnessConfigRule() for PlayReady key
    system to make everything consistent.
    
    BUG=577777
    
    Change-Id: I7b94f5dc22fb8c98d7e17709f767c766ebd54858
    Reviewed-on: https://chromium-review.googlesource.com/531855
    Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
    Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
    Reviewed-by: default avatarDavid Dorwin <ddorwin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#478835}
    444a1efa
key_systems_cast.cc 5.29 KB