| Commit-Queue | +1 |
[media] Restrict EncryptedOcclusionTracking to HW secure playbacksVikram Pasupathyoptional nit: `media:`?
Done, Thx
if (!cdm_config.use_hw_secure_codecs &&Vikram Pasupathynit: `use_hw_secure_codecs` might be true for CrOs L1? Should we guard by `BUILD_FLAG(IS_WIN)`?
The `kEncryptedMediaOcclusionTracking` feature flag is rolled out by `Win`, and then at 100% roll out, I'll make the feature flag only enabled by default for `Win`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
if (!cdm_config.use_hw_secure_codecs &&Vikram Pasupathynit: `use_hw_secure_codecs` might be true for CrOs L1? Should we guard by `BUILD_FLAG(IS_WIN)`?
The `kEncryptedMediaOcclusionTracking` feature flag is rolled out by `Win`, and then at 100% roll out, I'll make the feature flag only enabled by default for `Win`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
media: Restrict EncryptedOcclusionTracking to HW secure playbacks
Instantiating MediaVideoVisibilityTracker in OnEncryptedMediaInitData()
occurred before CDM capabilities were known, causing costly occlusion
tracking calculations to run for software DRM playbacks.
Now, OnCdmAttached() in WebMediaPlayerClient allows HTMLVideoElement to
check `cdm_config.use_hw_secure_codecs` before creating the tracker.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |