Description

CameraResolutionDescriptor specifies the width and height of a camera’s output resolution. It is used as part of a CameraTrackDescriptor to define how video frames should be captured and encoded. By default, it initializes to a square resolution of 512 × 512 pixels.

References

Fields

FieldTypeDescription
WidthuintThe horizontal resolution in pixels.
HeightuintThe vertical resolution in pixels.

Constructor

public CameraResolutionDescriptor(
    uint width = 512,
    uint height = 512
)

Parameters

  • width — Output width in pixels. (Default: 512)
  • height — Output height in pixels. (Default: 512)