Fixing device switching in Firefox
This commit is contained in:
parent
d18abaf067
commit
8db615551a
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue