addStream 方法

void addStream(
  1. MediaStream? stream,
  2. [Map? mediaConstraints]
)

实现

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;
}