WebRTC Video Settings (aka Constraints). Can be set to false.

Properties

  • aspectRatio

    : Number

    The exact aspect ratio (width in pixels divided by height in pixels, represented as a double rounded to the tenth decimal place) or aspect ratio range

  • deviceId

    : String

    The origin-unique identifier for the source of the MediaStreamTrack

  • facingMode

    : String

    user/environment/left/right

  • frameRate

    : Number

    The exact frame rate (frames per second) or frame rate range

  • groupId

    : String

    The origin-unique group identifier for the source of the MediaStreamTrack. Two devices have the same group identifier if they belong to the same physical device

  • height

    : Number|Object

    The height or height range, in pixels

  • mandatory

    : Object

    Mandatory constraints object (deprecated)

  • optional

    : Object

    Optional constraints object (deprecated)

  • width

    : Number|Object

    The width or width range, in pixels