Description
CameraTrackDescriptor encapsulates the key parameters required for configuring a camera track in LCK. It includes:- A
CameraResolutionDescriptor
for output resolution. - Bitrate and framerate parameters for video.
- An audio bitrate parameter.
- Video bitrate:
5 << 20
(≈ 5 Mbps) - Framerate:
30 fps
- Audio bitrate:
192000
(192 kbps)
Usage
When creating aCameraTrackDescriptor
, you must supply a CameraResolutionDescriptor
.
Other values (bitrate, framerate, audio bitrate) will use defaults unless explicitly set.
Examples
References
Fields
Field | Type | Description |
---|---|---|
Resolution | CameraResolutionDescriptor | Defines the video output resolution. |
Bitrate | uint | Video bitrate in bits per second. |
Framerate | uint | Video framerate in frames per second. |
AudioBitrate | uint | Audio bitrate in bits per second. |