Audio device => exact mode

This commit is contained in:
David Négrier 2020-06-25 11:26:55 +02:00
parent e3e7b92c6a
commit 5f5cec93ea

View File

@ -171,7 +171,9 @@ export class MediaManager {
if (typeof(audio) === 'boolean' || audio === undefined) { if (typeof(audio) === 'boolean' || audio === undefined) {
audio = {} audio = {}
} }
audio.deviceId = id; audio.deviceId = {
exact: id
};
return this.getCamera(); return this.getCamera();
} }