Bug 188606
Summary: | getUserMedia() fails to honor "deviceId" specified in video constraints. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Manjesh Malavalli <mmalavalli> |
Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | youennf |
Priority: | P2 | ||
Version: | Safari 11 | ||
Hardware: | Mac | ||
OS: | macOS 10.13 |
Manjesh Malavalli
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
youenn fablet
Hi Manjesh, thanks for the bug report.
I believe this is the same issue as bug 187756, let's follow-up there.
youenn fablet
*** This bug has been marked as a duplicate of bug 187756 ***