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
Field | Type | Description |
---|---|---|
Width | uint | The horizontal resolution in pixels. |
Height | uint | The vertical resolution in pixels. |
Constructor
Parameters
- width — Output width in pixels. (Default: 512)
- height — Output height in pixels. (Default: 512)