Fixing device switching in Firefox
This commit is contained in:
parent
d18abaf067
commit
8db615551a
@ -161,7 +161,9 @@ export class MediaManager {
|
||||
if (typeof(video) === 'boolean' || video === undefined) {
|
||||
video = {}
|
||||
}
|
||||
video.deviceId = id;
|
||||
video.deviceId = {
|
||||
exact: id
|
||||
};
|
||||
|
||||
return this.getCamera();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user