EME: Check that output protection checks catch getDisplayMedia() recording
QueryOutputProtectionStatus() should report that a MediaRecorder is capturing audio/video streams. This adds a test that sets up a MediaRecorder using getDisplayMedia() to provide the stream, and verifies that the query does detect it. ClearKey CDM updated to periodically query for changes, and if a network link is detected, generate a keystatuseschange event with a dummy key ID and status 'output-restricted'. Bug: 856276 Test: new browser_test passes Change-Id: I3f9f200dded6647ec9526d929b962b3ccfae1d7a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894356 Commit-Queue: John Rummell <jrummell@chromium.org> Reviewed-by:Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#713670}
Showing
Please register or sign in to comment