onTrackSubscribed

open fun onTrackSubscribed(track: Track, publication: TrackPublication, participant: RemoteParticipant, room: Room)

The LocalParticipant has subscribed to a new track. This event will always fire as long as new tracks are ready for use.

Sources

SDK source
Link copied to clipboard