RtcPeerConnection(Map rtcConfiguration, [Map mediaConstraints])

Source

@DomName('RTCPeerConnection.RTCPeerConnection')
@DocsEditable()
factory RtcPeerConnection(Map rtcConfiguration, [Map mediaConstraints]) {
  if (mediaConstraints != null) {
    var rtcConfiguration_1 = convertDartToNative_Dictionary(rtcConfiguration);
    var mediaConstraints_2 = convertDartToNative_Dictionary(mediaConstraints);
    return _blink.BlinkRTCPeerConnection.instance.constructorCallback_2_(rtcConfiguration_1, mediaConstraints_2);
  }
  var rtcConfiguration_1 = convertDartToNative_Dictionary(rtcConfiguration);
  return _blink.BlinkRTCPeerConnection.instance.constructorCallback_1_(rtcConfiguration_1);
}