feat: Support for capturing audio for chrome tab. (#158)

* feat: Support for capturing audio for chrome tab.

* Update code comments.
This commit is contained in:
CloudWebRTC
2022-09-07 15:15:11 +08:00
committed by GitHub
parent 7c01c115d8
commit cbdfa634a3
7 changed files with 75 additions and 7 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ class _ControlsWidgetState extends State<ControlsWidget> {
print('could not publish video: $e');
}
}
await participant.setScreenShareEnabled(true);
await participant.setScreenShareEnabled(true, captureScreenAudio: true);
}
void _disableScreenShare() async {