Variable defaultVideoConstraintsConst
defaultVideoConstraints: {
facingMode: "user";
height: { ideal: 720; max: 1080; min: 480 };
resizeMode: { ideal: "crop-and-scale" };
width: { ideal: 1280; max: 1920; min: 640 };
} = ...
Type Declaration
ReadonlyfacingMode: "user"
Readonlyheight: { ideal: 720; max: 1080; min: 480 }
ReadonlyresizeMode: { ideal: "crop-and-scale" }
Readonlywidth: { ideal: 1280; max: 1920; min: 640 }
Default webcam video constraints to apply