Skip to content

Commit

Permalink
fix: set preferCurrentTab to false bye default (#338)
Browse files Browse the repository at this point in the history
* fix: Deprecate preferCurrentTab for flutter web.

* update.
  • Loading branch information
cloudwebrtc authored Aug 15, 2023
1 parent 64234d9 commit 0b59d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/track/options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class ScreenShareCaptureOptions extends VideoCaptureOptions {
const ScreenShareCaptureOptions({
this.useiOSBroadcastExtension = false,
this.captureScreenAudio = false,
this.preferCurrentTab = true,
this.preferCurrentTab = false,
this.selfBrowserSurface,
String? sourceId,
double? maxFrameRate,
Expand All @@ -120,7 +120,7 @@ class ScreenShareCaptureOptions extends VideoCaptureOptions {
ScreenShareCaptureOptions.from(
{this.useiOSBroadcastExtension = false,
this.captureScreenAudio = false,
this.preferCurrentTab = true,
this.preferCurrentTab = false,
this.selfBrowserSurface,
required VideoCaptureOptions captureOptions})
: super(params: captureOptions.params);
Expand Down

0 comments on commit 0b59d68

Please sign in to comment.