RTCConfiguration constructor
RTCConfiguration({
- Iterable<
RTCIceServer> ? iceServers, - RTCIceTransportPolicy? iceTransportPolicy,
- RTCBundlePolicy? bundlePolicy,
- RTCRtcpMuxPolicy? rtcpMuxPolicy,
- Iterable<
RTCCertificate> ? certificates, - int? iceCandidatePoolSize,
Implementation
factory RTCConfiguration(
{Iterable<RTCIceServer>? iceServers,
RTCIceTransportPolicy? iceTransportPolicy,
RTCBundlePolicy? bundlePolicy,
RTCRtcpMuxPolicy? rtcpMuxPolicy,
Iterable<RTCCertificate>? certificates,
int? iceCandidatePoolSize}) =>
RTCConfiguration._(
iceServers: iceServers ?? const [],
iceTransportPolicy:
iceTransportPolicy?.value ?? RTCIceTransportPolicy.all.value,
bundlePolicy: bundlePolicy?.value ?? RTCBundlePolicy.balanced.value,
rtcpMuxPolicy: rtcpMuxPolicy?.value ?? RTCRtcpMuxPolicy.require.value,
certificates: certificates ?? const [],
iceCandidatePoolSize: iceCandidatePoolSize ?? 0);