New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 736660 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Compat



Sign in to add a comment

Microphone and webcam requests from letsgaze.com no longer work

Reported by shimi.c...@gmail.com, Jun 25 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Example URL:
letsgaze.com

Steps to reproduce the problem:
1. visit letsgaze.com
2. click on "Start Gazing"
3. open incognito window
4. paste session link into the incognito window

This is how to reproduce using one computer, whereas the goal of the website is to communicate between two computers, but for testing one computer is sufficient.

What is the expected behavior?
WebRTC session should start with audio and video communication.

What went wrong?
There is no pop-up to approve the microphone sharing, so the session fails.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? Yes 58.0.3029.110

Does this work in other browsers? No
 Firefox 54

Chrome version: 59.0.3071.109  Channel: n/a
OS Version: Arch
Flash Version:
 
Components: Blink>WebRTC
Labels: Needs-Feedback
Tested this issue using reported version #59.0.3071.109 on Linux Ubuntu 14.04 and was unable to reproduce the issue as per the steps mentioned in original comment.

@shimi: Could you please find the attached screen cast and let us know if we missed any steps from our end. If possible please add a screenshot or screen cast for further investigation.

Thanks!!
Jun 27 2017 3-21 PM.webm
7.1 MB View Download
There is a missing step in your video. See my attached video. It starts with showing how the website should work (as it does with version 58) and continues showing how it fails after upgrading to version 59.
letsgaze.webm
10.6 MB View Download
Project Member

Comment 3 by sheriffbot@chromium.org, Jun 27 2017

Cc: sandeepkumars@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Triage-M59

Comment 5 by guidou@chromium.org, Jun 29 2017

Components: -Blink>WebRTC Blink>GetUserMedia
Owner: guidou@chromium.org
Status: Assigned (was: Unconfirmed)
I'll take a look at this.
This might be related to spec-compliant video constraints in M59.

Comment 6 by guidou@chromium.org, Jun 29 2017

Labels: Needs-Feedback
It works well for me on 59, 60 and 61.
The only way I could reproduce the problem as in the video on #3 is on a system without devices (without cameras or without microphones).

In this case, getUserMedia fails early in M59 and newer (as the spec says it should) instead of asking for permissions (as 58 wrongly does).
I suspect the application believes the getUserMedia error is because no permission was given when in fact the error is because there are no devices.

shimi.chen@: can you confirm that this is the case?
you can check https://guidou.github.io/enumdemo4.html to get a list of devices recognized by Chrome. If the list does not include at least one videoinput and one audioinput device, a getUserMedia request for video and audio should fail without asking for permissions.
I obviously had a microphone connected (or you could not hear me in the screencast), but not a webcam. I can confirm that it works on another computer, which has a webcam.

To be clear, getUserMedia fails by design if you don't have *both* a microphone *and* a camera?

Comment 8 by guidou@chromium.org, Jun 30 2017

Status: WontFix (was: Assigned)
getUserMedia fails by design if you request both, but don't have both.
If you only have a mic and request only audio, getUserMedia  will succeed. 
Similarly,  if you only have a camera and request only video, getUserMedia will suceed too. 
You can use enumerateDevices to determine if there are any microphones or cameras on the system. 

Closing the bug since this is working as intended. 

Sign in to add a comment