-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(merge) media: Fix EME session type support rules
Currently there's no way to differentiate the persistent session support between software and hardware secure robustness for the same key system. This is causing issues on platforms where software and hardware secure pipeline uses totally different code paths. This CL fixes this issue with the following changes: - Remove EmeSessionTypeSupport and uses EmeConfigRule for consistency, simplicity and flexibility. - Update all key system properties to use the new type. - Fix WidevineKeySystemProperties::GetPersistentLicenseSessionSupport() to support returning the right rule based on different persistent session support. - Add a new browser test to cover persistent session support for hardware secure Widevine. (cherry picked from commit 1c3543f) Bug: 1325152, b/186035558 Test: Added new browser test Change-Id: Icd96da36db27e09878c5adea306dd8d48ce2aea6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3638694 Commit-Queue: Kevin Marshall <kmarshall@chromium.org> Auto-Submit: Xiaohan Wang <xhwang@chromium.org> Reviewed-by: Kevin Marshall <kmarshall@chromium.org> Reviewed-by: John Rummell <jrummell@chromium.org> Reviewed-by: Yuchen Liu <yucliu@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1003926} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3655010 Commit-Queue: Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#192} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information
1 parent
d1d4e7a
commit 069e507
Showing
16 changed files
with
240 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.