addTrack

suspend fun addTrack(track: Track)

Adds an audio or video track to the publisher.

Parameters

track

The track to add.

Throws

An exception thrown in the case of encountering issues during execution of the method.