Bug 188606

Summary: getUserMedia() fails to honor "deviceId" specified in video constraints.
Product: WebKit Reporter: Manjesh Malavalli <mmalavalli>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: youennf
Priority: P2    
Version: Safari 11   
Hardware: Mac   
OS: macOS 10.13   

Manjesh Malavalli
Reported 2018-08-15 10:08:15 PDT
In Safari 11, getUserMedia() always captures video from the first device in the list of devices returned by enumerateDevices(), no matter what deviceId is specified in the video constraints. Steps to reproduce: 1. Make sure you have two video input sources available. 2. Run https://jsfiddle.net/b9wyx1sc/28/ in Safari 11. Expected behavior: - The two video elements should render video from the two video input sources. Actual behavior: - Both video elements render video from the first device listed by enumerateDevices().
Attachments
youenn fablet
Comment 1 2018-08-15 14:30:37 PDT
Hi Manjesh, thanks for the bug report. I believe this is the same issue as bug 187756, let's follow-up there.
youenn fablet
Comment 2 2018-08-15 14:30:41 PDT
*** This bug has been marked as a duplicate of bug 187756 ***
Note You need to log in before you can comment on or make changes to this bug.