setAudio

abstract fun setAudio(trackId: String)

Deprecated

Use `Source.setAudio(trackId)` on the currently active source instead e.g. Player.source.setAudioTrack(trackId)

Replace with

source?.setAudioTrack(trackId)

Enables the AudioTrack that corresponds to the trackId. A list of currently available AudioTracks can be retrieved via availableAudio.

Has no effect if there is no active playback session.

This function is deprecated. Use Source.setAudioTrack on the currently active source instead e.g. Player.source.setAudioTrack