videoTracks property

  1. @override
List<RemoteTrackPublication<RemoteVideoTrack>> videoTracks
override

A convenience property to get all video tracks.

Implementation

@override
List<RemoteTrackPublication<RemoteVideoTrack>> get videoTracks =>
    trackPublications.values
        .whereType<RemoteTrackPublication<RemoteVideoTrack>>()
        .toList();