Open
Bug 1696508
Opened 3 years ago
Updated 3 years ago
Device selection using channelCount constraint doesn't work in getUserMedia()
Categories
(Core :: WebRTC: Audio/Video, defect, P2)
Core
WebRTC: Audio/Video
Tracking
()
NEW
People
(Reporter: jib, Unassigned)
References
Details
We're not picking a stereo microphone from getUserMedia({audio: {channelCount: 2}})
.
STRs (ideal):
- Make sure default mic is mono (MBP mic), and insert a secondary stereo mic (BRIO)
- Open https://jsfiddle.net/jib1/0pcdfmky/ and click
Go
(and hitAllow
in any prompt).
Expected results: stereo (BRIO) mic
Actual results: mono (MBP) mic.
We're also not removing mono mic choices from getUserMedia({audio: {channelCount: {exact: 2}}})
.
STRs (exact):
- Revoke any persistent permissions and remove stereo mic
- open https://jsfiddle.net/jib1/9s8cm0ka/
Expected results: No prompt, and OverconstrainedError: Constraints could be not satisfied.
Actual results: Prompt with all mic choices, followed by OverconstrainedError: Constraints could be not satisfied.
only after I hit Allow
😕
Comment 1•3 years ago
|
||
Jan-Ivar, would you mind triaging this? I suspect you have the best handle on the priority/severity here.
Flags: needinfo?(jib)
Reporter | ||
Updated•3 years ago
|
Severity: -- → S3
Flags: needinfo?(jib)
Priority: -- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•