copyWith method
RTCConfiguration
copyWith({
- int? iceCandidatePoolSize,
- List<
RTCIceServer> ? iceServers, - RTCIceTransportPolicy? iceTransportPolicy,
- bool? encodedInsertableStreams,
Implementation
RTCConfiguration copyWith({
int? iceCandidatePoolSize,
List<RTCIceServer>? iceServers,
RTCIceTransportPolicy? iceTransportPolicy,
bool? encodedInsertableStreams,
}) =>
RTCConfiguration(
iceCandidatePoolSize: iceCandidatePoolSize ?? this.iceCandidatePoolSize,
iceServers: iceServers ?? this.iceServers,
iceTransportPolicy: iceTransportPolicy ?? this.iceTransportPolicy,
encodedInsertableStreams:
encodedInsertableStreams ?? this.encodedInsertableStreams,
);