We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66f73b3 commit b8f389aCopy full SHA for b8f389a
content/renderer/pepper/pepper_media_device_manager.cc
@@ -81,6 +81,7 @@ void PepperMediaDeviceManager::EnumerateDevices(
81
#if defined(ENABLE_WEBRTC)
82
bool request_audio_input = type == PP_DEVICETYPE_DEV_AUDIOCAPTURE;
83
bool request_video_input = type == PP_DEVICETYPE_DEV_VIDEOCAPTURE;
84
+ CHECK(request_audio_input || request_video_input);
85
GetMediaDevicesDispatcher()->EnumerateDevices(
86
request_audio_input, request_video_input, false /* audio_output */,
87
url::Origin(document_url.GetOrigin()),
0 commit comments