Video Track Publish Defaults
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, val simulcastLayers: List<VideoPreset>? = 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, simulcastLayers: List<VideoPreset>? = null)
Properties
Link copied to clipboard
Multi-codec Simulcast
Link copied to clipboard
When bandwidth is constrained, this preference indicates which is preferred between degrading resolution vs. framerate.
Link copied to clipboard
scalability mode for svc codecs, defaults to 'L3T3'. for svc codecs, simulcast is disabled.
Link copied to clipboard
Up to two additional simulcast layers to publish in addition to the original Track. Layers should be ordered from smallest to largest. Layers beyond the first two will be ignored. Any layers that have larger resolutions than the source resolution will also be ignored.
Link copied to clipboard
The video codec to use if available.
Link copied to clipboard