VideoSendSettings

@Serializable
data class VideoSendSettings

Configuration for an outbound video track, like camera video.

Both the track's maximum quality, and the corresponding encodings, can be set. If maxQuality is set to an encoding higher than a specified one, 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 is medium.

Properties

Link copied to clipboard
val allowAdaptiveLayers: Boolean = false

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
val maxQuality: VideoSendSettingsMaxQuality

The maximum quality of this track.

Link copied to clipboard
val preferredCodec: CodecName

The preferred codec of this track.