Capture screen audio

This commit is contained in:
2025-10-05 12:34:43 +08:00
parent 6be7dfbc61
commit 2cd1416a13
4 changed files with 60 additions and 33 deletions

View File

@@ -42,7 +42,7 @@ class CallControlsBar extends HookConsumerWidget {
callState.isScreenSharing
? Icons.stop_screen_share
: Icons.screen_share,
onPressed: () => callNotifier.toggleScreenShare(),
onPressed: () => callNotifier.toggleScreenShare(context),
backgroundColor: const Color(0xFF424242),
),
_buildCircularButtonWithDropdown(
@@ -383,7 +383,7 @@ class CallOverlayBar extends HookConsumerWidget {
: Icons.screen_share,
),
onPressed: () {
callNotifier.toggleScreenShare();
callNotifier.toggleScreenShare(context);
},
style: actionButtonStyle,
),