onTrackSubscribed method Null safety
- RemoteParticipant participant,
- Track track,
- RemoteTrackPublication publication
The LocalParticipant has subscribed to a new track. This event will always fire as long as new tracks are ready for use.
Implementation
void onTrackSubscribed(
RemoteParticipant participant, Track track, RemoteTrackPublication publication) {}