diff --git a/lib/src/track/options.dart b/lib/src/track/options.dart index 56188ab4..7fec1c31 100644 --- a/lib/src/track/options.dart +++ b/lib/src/track/options.dart @@ -126,6 +126,7 @@ class ScreenShareCaptureOptions extends VideoCaptureOptions { : super(params: captureOptions.params); ScreenShareCaptureOptions copyWith({ + bool? useiOSBroadcastExtension, bool? captureScreenAudio, VideoParameters? params, String? sourceId, @@ -134,6 +135,8 @@ class ScreenShareCaptureOptions extends VideoCaptureOptions { String? selfBrowserSurface, }) => ScreenShareCaptureOptions( + useiOSBroadcastExtension: + useiOSBroadcastExtension ?? this.useiOSBroadcastExtension, captureScreenAudio: captureScreenAudio ?? this.captureScreenAudio, params: params ?? this.params, sourceId: sourceId ?? deviceId,