copyWith method
CallSetting
copyWith({
- bool? isLowBandwidthMode,
- bool? isAudioMuted,
- bool? echoCancellationEnabled,
- bool? noiseSuppressionEnabled,
- bool? agcEnabled,
- bool? isVideoMuted,
- bool? e2eeEnabled,
- WebRTCCodec? preferedCodec,
- VideoQuality? videoQuality,
- VideoLayout? videoLayout,
Implementation
CallSetting copyWith({
bool? isLowBandwidthMode,
bool? isAudioMuted,
bool? echoCancellationEnabled,
bool? noiseSuppressionEnabled,
bool? agcEnabled,
bool? isVideoMuted,
bool? e2eeEnabled,
WebRTCCodec? preferedCodec,
VideoQuality? videoQuality,
VideoLayout? videoLayout,
}) {
return CallSetting(
isLowBandwidthMode: isLowBandwidthMode ?? this.isLowBandwidthMode,
isAudioMuted: isAudioMuted ?? this.isAudioMuted,
echoCancellationEnabled:
echoCancellationEnabled ?? this.echoCancellationEnabled,
noiseSuppressionEnabled:
noiseSuppressionEnabled ?? this.noiseSuppressionEnabled,
agcEnabled: agcEnabled ?? this.agcEnabled,
isVideoMuted: isVideoMuted ?? this.isVideoMuted,
e2eeEnabled: e2eeEnabled ?? this.e2eeEnabled,
preferedCodec: preferedCodec ?? this.preferedCodec,
videoQuality: videoQuality ?? this.videoQuality,
videoLayout: videoLayout ?? this.videoLayout,
);
}