[Video Capture] Add feature switch for DeviceMonitorMac

Desktop / Chromium - Christian Fremerey [chromium.org] - 14 July 2017 19:25 EDT

On Mac it can happen that certain cameras stop working system-wide after Chrome has been running for a while (potentially days) and the computer has gone through sleep/wakeup cycles.

This could potentially be related to DeviceMonitorMac interacting with
VDCAssistant either at a bad time or in a bad way. To be able to test this theory, this CL adds a feature switch that allows disabling the use of DeviceMonitorMac.

Bug: 699446 Test: Run chromium on Mac with --disable-features=DeviceMonitorMac Change-Id: Id2a06c75bca7ec8e2db37b4b9647fe508edb0327 Reviewed-on: https://chromium-review.googlesource.com/558199

c0f7856 [Video Capture] Add feature switch for DeviceMonitorMac
content/browser/renderer_host/media/media_devices_manager.cc | 6 ++++++
content/public/common/content_features.cc | 4 ++++
content/public/common/content_features.h | 1 +
3 files changed, 11 insertions(+)

Upstream: git.chromium.org


  • Share