Implementation
VideoPublishOptions copyWith({
VideoEncoding? videoEncoding,
bool? simulcast,
List<VideoParameters>? videoSimulcastLayers,
List<VideoParameters>? screenShareSimulcastLayers,
String? videoCodec,
BackupVideoCodec? backupCodec,
String? scalabilityMode,
}) =>
VideoPublishOptions(
videoEncoding: videoEncoding ?? this.videoEncoding,
simulcast: simulcast ?? this.simulcast,
videoSimulcastLayers: videoSimulcastLayers ?? this.videoSimulcastLayers,
screenShareSimulcastLayers:
screenShareSimulcastLayers ?? this.screenShareSimulcastLayers,
videoCodec: videoCodec ?? this.videoCodec,
backupCodec: backupCodec ?? this.backupCodec,
scalabilityMode: scalabilityMode ?? this.scalabilityMode,
);