copyWith method

RTCConfiguration copyWith(
  1. {int? iceCandidatePoolSize,
  2. List<RTCIceServer>? iceServers,
  3. RTCIceTransportPolicy? iceTransportPolicy,
  4. 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,
    );