Description
QualityOption
defines a named quality preset that can be selected at runtime.
It includes track descriptors for both recording nd streaming, and can mark one option as the default.
Primarily used in configuration assets such as LckQualityConfig
.
Usage
You can define aQualityOption
to represent different capture quality levels.
For example, you might configure High, Medium, and Low presets, each with their own resolution, bitrate, and framerate.
References
Fields
Field | Type | Description |
---|---|---|
Name | string | Display name of the quality option. |
IsDefault | bool | Marks this option as the default selection. |
RecordingCameraTrackDescriptor | CameraTrackDescriptor | Track descriptor used when recording. |
StreamingCameraTrackDescriptor | CameraTrackDescriptor | Track descriptor used when streaming. |
Constructor
Parameters
- name — The display name of the option.
- isDefault — Whether this option is the default.
- cameraTrackDescriptor — Track descriptor for recording.
- streamingCameraTrackDescriptor — Track descriptor for streaming.
Obsolete Members
Member | Type | Description |
---|---|---|
CameraTrackDescriptor | CameraTrackDescriptor | Obsolete. For backwards compatibility only. Use RecordingCameraTrackDescriptor or StreamingCameraTrackDescriptor instead. |