VideoTrackPublishOptions

data class VideoTrackPublishOptions(name: String?, videoEncoding: VideoEncoding?, simulcast: Boolean, videoCodec: String, scalabilityMode: String?, backupCodec: BackupVideoCodec?, source: Track.Source?, stream: String?) : BaseVideoTrackPublishOptions, TrackPublishOptions

Constructors

VideoTrackPublishOptions
Link copied to clipboard
fun VideoTrackPublishOptions(name: String? = null, base: BaseVideoTrackPublishOptions, source: Track.Source? = null, stream: String? = null)

Functions

createBackupOptions
Link copied to clipboard
fun createBackupOptions(): VideoTrackPublishOptions?

Properties

backupCodec
Link copied to clipboard
open override val backupCodec: BackupVideoCodec? = null
Multi-codec SimulcastCodecs such as VP9 and AV1 are not supported by all clients.
name
Link copied to clipboard
open override val name: String? = null
The name of the track.
scalabilityMode
Link copied to clipboard
open override val scalabilityMode: String? = null
scalability mode for svc codecs, defaults to 'L3T3'.
simulcast
Link copied to clipboard
open override val simulcast: Boolean = true
source
Link copied to clipboard
open override val source: Track.Source? = null
The source of a track, camera, microphone or screen.
stream
Link copied to clipboard
open override val stream: String? = null
The stream name for the track.
videoCodec
Link copied to clipboard
open override val videoCodec: String
The video codec to use if available.
videoEncoding
Link copied to clipboard
open override val videoEncoding: VideoEncoding? = null

Sources

SDK source
Link copied to clipboard