MediaStream([stream_OR_tracks ])
Source
@DomName('MediaStream.MediaStream')
@DocsEditable()
factory MediaStream([stream_OR_tracks]) {
if (stream_OR_tracks == null) {
return _blink.BlinkMediaStream.instance.constructorCallback_0_();
}
if ((stream_OR_tracks is MediaStream)) {
return _blink.BlinkMediaStream.instance
.constructorCallback_1_(stream_OR_tracks);
}
if ((stream_OR_tracks is List<MediaStreamTrack>)) {
return _blink.BlinkMediaStream.instance
.constructorCallback_1_(stream_OR_tracks);
}
throw new ArgumentError("Incorrect number or type of arguments");
}