getAudioTracks method
Returns a List MediaStreamTrack objects representing the audio 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 'audio'.
Implementation
@override
List<MediaStreamTrack> getAudioTracks() {
var audioTracks = <MediaStreamTrack>[];
jsStream.getAudioTracks().forEach(
(dynamic jsTrack) => audioTracks.add(MediaStreamTrackWeb(jsTrack)));
return audioTracks;
}