RTCConfiguration constructor

RTCConfiguration({
  1. RTCBundlePolicy? bundlePolicy,
  2. List<RTCCertificate>? certificates,
  3. num? iceCandidatePoolSize,
  4. List<RTCIceServer>? iceServers,
  5. RTCIceTransportPolicy? iceTransportPolicy,
  6. RTCRtcpMuxPolicy? rtcpMuxPolicy,
})

Implementation

factory RTCConfiguration({
  _i3.RTCBundlePolicy? bundlePolicy,
  _i2.List<_i3.RTCCertificate>? certificates,
  _i2.num? iceCandidatePoolSize,
  _i2.List<_i3.RTCIceServer>? iceServers,
  _i3.RTCIceTransportPolicy? iceTransportPolicy,
  _i3.RTCRtcpMuxPolicy? rtcpMuxPolicy,
}) =>
    RTCConfiguration._(
      bundlePolicy: bundlePolicy?.name ?? _i6.undefined,
      certificates: certificates,
      iceCandidatePoolSize: iceCandidatePoolSize,
      iceServers: iceServers,
      iceTransportPolicy: iceTransportPolicy?.name ?? _i6.undefined,
      rtcpMuxPolicy: rtcpMuxPolicy,
    );