Fixing device switching in Firefox

This commit is contained in:
David Négrier 2020-06-25 10:33:26 +02:00
parent d18abaf067
commit 8db615551a

View File

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