publishAudioTrack

suspend fun publishAudioTrack(track: LocalAudioTrack, options: AudioTrackPublishOptions = AudioTrackPublishOptions( null, audioTrackPublishDefaults, ), publishListener: LocalParticipant.PublishListener? = null)

Publishes an audio track.

Parameters

track

The track to publish.

options

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