VideoSendSettingsUpdate

@Serializable
data class VideoSendSettingsUpdate(maxQuality: Update<VideoMaxQualityUpdate>?, encodings: Update<VideoEncodingsSettingsUpdate>?, preferredCodec: Update<CodecNameUpdate>?, allowAdaptiveLayers: Update<StateBoolean>?) : Update<VideoSendSettingsUpdate>

Configuration for an outbound video track, like camera video.

Both the track's maximum quality, and the corresponding encodings, can be set. The maxQuality can be set to an encoding higher than a specified one, in which case it will take the value of the highest specified encoding.

For example, if the maxQuality is set to high, but only low and medium encodings are specified, the effective quality of the sent track will be medium.

Constructors

Link copied to clipboard
fun VideoSendSettingsUpdate(maxQuality: Update<VideoMaxQualityUpdate>? = null, encodings: Update<VideoEncodingsSettingsUpdate>? = null, preferredCodec: Update<CodecNameUpdate>? = null, allowAdaptiveLayers: Update<StateBoolean>? = null)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard
val allowAdaptiveLayers: Update<StateBoolean>? = null

Defines if we should allow the adaptive layers or not.

Link copied to clipboard
val encodings: Update<VideoEncodingsSettingsUpdate>? = null

Custom encoding configuration for any of the quality settings.

Link copied to clipboard
val maxQuality: Update<VideoMaxQualityUpdate>? = null

Select the maximum quality of this track.

Link copied to clipboard
val preferredCodec: Update<CodecNameUpdate>? = null

Select the preferred codec of this track.