addStream method

void addStream(MediaStream stream, [ Map mediaConstraints ])

Source

void addStream(MediaStream stream, [Map mediaConstraints]) {
  if (mediaConstraints != null) {
    _blink.BlinkRTCPeerConnection.instance.addStream_Callback_2_(
        this, stream, convertDartToNative_Dictionary(mediaConstraints));
    return;
  }
  _blink.BlinkRTCPeerConnection.instance.addStream_Callback_1_(this, stream);
  return;
}

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