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, val startBitrate: Update<BitRate>? = null, val adaptiveLayerMaxBitrate: Update<BitRate>? = 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, startBitrate: Update<BitRate>? = null, adaptiveLayerMaxBitrate: Update<BitRate>? = null)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard

Caps, in bits per second, the bitrate adaptive bitrate can ramp up to. It never goes below 200000, the lowest bitrate the adaptive layer supports. Use FromDefaults to remove a cap set before.

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.

Link copied to clipboard

The bitrate, in bits per second, the video encoder starts sending at before bandwidth estimation adapts it. Must be at least 1000.