onTrackPublished

open fun onTrackPublished(publication: RemoteTrackPublication, participant: RemoteParticipant, room: Room)

When a new track is published to room after the local participant has joined. It will not fire for tracks that are already published

open fun onTrackPublished(publication: LocalTrackPublication, participant: LocalParticipant, room: Room)

When a new track is published to room after the local participant has joined.