We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e98042 commit 580669cCopy full SHA for 580669c
src/av/interface.js
@@ -876,7 +876,9 @@ export class AVInterface {
876
console.log('getAVDevices, getUserMedia...', error)
877
}
878
879
- this.devices = await navigator.mediaDevices.enumerateDevices()
+ this.devices = (await navigator.mediaDevices.enumerateDevices()).filter(
880
+ (el) => el.deviceId !== 'default' && el.deviceId !== 'communications'
881
+ )
882
return this.devices
883
884
0 commit comments