parseMediaStreamTrack static method

MediaStreamTrack parseMediaStreamTrack(
  1. dynamic track
)

It parses a JS MediaStreamTrack object to Dart MediaStreamTrack

Implementation

static MediaStreamTrack parseMediaStreamTrack(track){
  return MediaStreamTrackWeb(track as html.MediaStreamTrack);
}