Closed Bug 1441874 Opened 7 years ago Closed 7 years ago

Switching cameras does not trigger video source change

Categories

(Web Compatibility :: Site Reports, defect, P1)

Firefox 58
All
Unspecified
defect

Tracking

(platform-rel ?, firefox60 affected)

RESOLVED WORKSFORME
Tracking Status
platform-rel --- ?
firefox60 --- affected

People

(Reporter: Ovidiu, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [platform-rel-Google][sitewait])

Affected versions]: Tested on Nightly 60.0a1(2018-02-27) [Affected platforms]: Tested on Mac OS X 10.12, Ubuntu 16.04 [Steps to reproduce]: Prerequisites: 1. Make sure you have 2 cameras connected to your system. STR: 1. Open Firefox and start a Hangouts call. 2. Go to Settings and change the default camera. [Expected result]: The selected camera starts to capture. [Actual result]: The switch between the cameras is not done. NOTE: If you try to change the microphone everything works as expected.
Rank: 15
Priority: -- → P2
Confirmed. However, https://webrtc.github.io/samples/src/content/devices/input-output/ works fine, so this looks like a Hangouts bug. The following workaround appears to work: 1. When launching a Hangout, check ☑ Remember this decision in both permission prompts (mic and cam) 2. Refresh the page. Now I'm able to change camera in Settings just fine. I suggest someone reach out to Hangouts to improve this user experience. Feel free to direct them to me.
Component: WebRTC: Audio/Video → Desktop
Product: Core → Tech Evangelism
Version: 60 Branch → Firefox 58
Summary: Switching cameras does not trigger video source change → Switching cameras does not trigger video source change in Hangouts
Adam, would you mind getting in touch with Google to connect with Jan-Ivar? Thanks.
Flags: needinfo?(astevenson)
Priority: P2 → P1
platform-rel: --- → ?
Whiteboard: [platform-rel-Google][needscontact]
Contacted via mailing list.
Flags: needinfo?(astevenson)
Whiteboard: [platform-rel-Google][needscontact] → [platform-rel-Google][sitewait]
Interestingly, there's a legitimate Firefox bug here. I've opened bug 1443294 to cover it. But the websites are wrong too, so our ask of them remains unchanged. They really should be using exact constraints: mediaDevices.getUserMedia({video: {deviceId: {exact: chosenId}}}) ...to avoid substitutions in their selections. This prevents user-override in the Firefox permission prompt. Less confusing UI. And it avoids bug 1443294.
Depends on: 1443294
Summary: Switching cameras does not trigger video source change in Hangouts → Switching cameras does not trigger video source change
Can someone please test if this works now? According to the Hangouts team this should work now.
I tested this on Mac OS X 10.12 and Ubuntu 16.04 with FF Nightly 62.0a1(2018-06-05) and I can't reproduce the issue. We didn't test on laptops after we will do that if there are any issues we will update the bug. I will mark this as Resolved WFM.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.