getVideoTracks method

  1. @override
List<MediaStreamTrack> getVideoTracks()
override

Returns a List MediaStreamTrack objects representing the video tracks in this stream. The list represents a snapshot of all the MediaStreamTrack objects in this stream's track set whose kind is equal to 'video'.

Implementation

@override
List<MediaStreamTrack> getVideoTracks() {
  return _videoTracks;
}