getTrackPublication method

RemoteTrackPublication<RemoteTrack>? getTrackPublication(
  1. String sid
)

Implementation

RemoteTrackPublication? getTrackPublication(String sid) {
  final pub = trackPublications[sid];
  if (pub is RemoteTrackPublication) return pub;
  return null;
}