commit | aeccf6482bcd3b10d0ba745dbbb80386216fa747 | [log] [tgz] |
---|---|---|
author | Xiaohan Wang <xhwang@chromium.org> | Wed Jan 03 18:49:09 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 03 18:49:09 2024 |
tree | b75e3e30ea84fe25cdf6acb11932b622ec3deba0 | |
parent | 704420cdd2213d70340f787f3cc739c078293f52 [diff] |
media: Add `kSetCdm` property to MediaLog Add a `kSetCdm` to MediaLog and set it when a CDM is set on the media player. The CDM config will be logged, which will show the info about the CDM for the playback, e.g. key system, whether it's hardware or software secure playback etc. It can also be used to measure the time difference between "set CDM" and "CDM attached", which can take long if the setup takes time. Manually tested and observed the following (formatted for 72 char limit) in about://media-internals#players: ``` kSetCdm: { "allow_distinctive_identifier":false, "allow_persistent_state":false, "key_system":"com.widevine.alpha", "use_hw_secure_codecs":false} ``` Bug: 581568 Test: Manually tested. See above. Change-Id: I4559c3597fdafa8b18f408b629fd858a16b67785 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5160651 Auto-Submit: Xiaohan Wang <xhwang@chromium.org> Commit-Queue: Xiaohan Wang <xhwang@chromium.org> Reviewed-by: John Rummell <jrummell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1242543}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.