VideoSendSettingsUpdate

@Serializable
data class VideoSendSettingsUpdate(val maxQuality: Update<VideoMaxQualityUpdate>? = null, val encodings: Update<VideoEncodingsSettingsUpdate>? = null, val preferredCodec: Update<CodecNameUpdate>? = null, val allowAdaptiveLayers: Update<StateBoolean>? = null) : 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
constructor(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

Defines if we should allow the adaptive layers or not.

Link copied to clipboard

Custom encoding configuration for any of the quality settings.

Link copied to clipboard

Select the maximum quality of this track.

Link copied to clipboard

Select the preferred codec of this track.