Variable defaultVideoConstraintsConst

defaultVideoConstraints: {
    facingMode: "user";
    height: {
        ideal: 720;
        max: 1080;
        min: 480;
    };
    resizeMode: {
        ideal: "crop-and-scale";
    };
    width: {
        ideal: 1280;
        max: 1920;
        min: 640;
    };
} = ...

Default webcam video constraints to apply

Type declaration

  • Readonly facingMode: "user"
  • Readonly height: {
        ideal: 720;
        max: 1080;
        min: 480;
    }
    • Readonly ideal: 720
    • Readonly max: 1080
    • Readonly min: 480
  • Readonly resizeMode: {
        ideal: "crop-and-scale";
    }
    • Readonly ideal: "crop-and-scale"
  • Readonly width: {
        ideal: 1280;
        max: 1920;
        min: 640;
    }
    • Readonly ideal: 1280
    • Readonly max: 1920
    • Readonly min: 640