W3cubDocs

/Dart 2

addStream method

void addStream (MediaStream stream, [ Map mediaConstraints ])

Implementation

void addStream(MediaStream stream, [Map mediaConstraints]) {
  if (mediaConstraints != null) {
    var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
    _addStream_1(stream, mediaConstraints_1);
    return;
  }
  _addStream_2(stream);
  return;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/RtcPeerConnection/addStream.html