front: fix webrtc webcam feed on Firefox
Seems like Firefox doesn't support specifing both exact and ideal constraints...
This commit is contained in:
parent
c2d0cda441
commit
7f8cc76eb7
@ -13,7 +13,7 @@ if(localValueVideo){
|
||||
let videoConstraint: boolean|MediaTrackConstraints = {
|
||||
width: { min: 640, ideal: 1280, max: 1920 },
|
||||
height: { min: 400, ideal: 720 },
|
||||
frameRate: {exact: valueVideo, ideal: valueVideo},
|
||||
frameRate: { ideal: valueVideo },
|
||||
facingMode: "user",
|
||||
resizeMode: 'crop-and-scale',
|
||||
aspectRatio: 1.777777778
|
||||
|
Loading…
Reference in New Issue
Block a user