Description

LckDescriptor provides a simple container for the currently active CameraTrackDescriptor. It is typically returned by service methods (such as ILckService.GetDescriptor) to describe the current capture configuration in use.

Usage

Retrieve a LckDescriptor from the service to inspect the active track descriptor:
var descriptorResult = _lckService.GetDescriptor();

if (descriptorResult.Success)
{
    var descriptor = descriptorResult.Result;
    Debug.Log($"Active resolution: {descriptor.cameraTrackDescriptor.Resolution.Width}x{descriptor.cameraTrackDescriptor.Resolution.Height}");
    Debug.Log($"Active framerate: {descriptor.cameraTrackDescriptor.Framerate}");
    Debug.Log($"Active bitrate: {descriptor.cameraTrackDescriptor.Bitrate}");
}
else
{
    Debug.LogError($"Failed to retrieve descriptor: {descriptorResult.ErrorMessage}");
}

References

Fields

FieldTypeDescription
cameraTrackDescriptorCameraTrackDescriptorThe active track descriptor used in capture.