New issue
Advanced search Search tips

Issue 804227 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Unexpected TypeError from getUserMedia when Windows audio service is stopped

Project Member Reported by grunell@chromium.org, Jan 22 2018

Issue description

In an attempt to reproduce a failure in the Windows input audio implementation, I stopped the audio service on Windows. The failure getUserMedia returned was TypeError, with the message "At least one of audio and video must be requested"[1]. I used appr.tc with audio only and echo cancellation disabled and the constraints looked fine (identical to when the service was started and gUM was successful).

I had also added a log line in UserMediaRequest::Fail[2] which was printed with error 5 (DevicesNotFound).

1. Returning a TypeError is a bug, needs to be fixed.
2. How can the TypeError be returned while we end up with a DevicesNotFound failure?

[1] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp?type=cs&l=385
[2] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp?type=cs&l=567
 

Sign in to add a comment