publishVideoTrack

suspend fun publishVideoTrack(track: LocalVideoTrack, options: VideoTrackPublishOptions = VideoTrackPublishOptions(null, videoTrackPublishDefaults), publishListener: LocalParticipant.PublishListener? = null)

Publishes an video track.

Parameters

track

The track to publish.

options

The publish options to use, or Room.videoTrackPublishDefaults if none is passed.