VideoTrackPublishDefaults

data class VideoTrackPublishDefaults(val videoEncoding: VideoEncoding? = null, val simulcast: Boolean = true, val videoCodec: String = VideoCodec.VP8.codecName, val scalabilityMode: String? = null, val backupCodec: BackupVideoCodec? = null, val degradationPreference: RtpParameters.DegradationPreference? = null) : BaseVideoTrackPublishOptions

Constructors

Link copied to clipboard
constructor(videoEncoding: VideoEncoding? = null, simulcast: Boolean = true, videoCodec: String = VideoCodec.VP8.codecName, scalabilityMode: String? = null, backupCodec: BackupVideoCodec? = null, degradationPreference: RtpParameters.DegradationPreference? = null)

Properties

Link copied to clipboard
open override val backupCodec: BackupVideoCodec? = null

Multi-codec Simulcast

Link copied to clipboard
open override val degradationPreference: RtpParameters.DegradationPreference? = null

When bandwidth is constrained, this preference indicates which is preferred between degrading resolution vs. framerate.

Link copied to clipboard
open override val scalabilityMode: String? = null

scalability mode for svc codecs, defaults to 'L3T3'. for svc codecs, simulcast is disabled.

Link copied to clipboard
open override val simulcast: Boolean = true
Link copied to clipboard
open override val videoCodec: String

The video codec to use if available.

Link copied to clipboard
open override val videoEncoding: VideoEncoding? = null