fix(app): apply the screen share audio toggle to the surface being shared (#1813)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-21 17:04:22 +02:00
1 parent 51ee6567b4
commit 85a03a9e39
3 files changed
+26 -5

No files matched your search

@@ -291,6 +291,14 @@ function getConfiguredScreenShareOptions(
sourceId,
preferredDisplaySurface,
);
if (!includeAudio && shareContext !== 'device' && supportsDesktopScreenShareAudioCapture()) {
logger.info('Screen share audio not requested for this surface', {
sourceId,
preferredDisplaySurface,
shareAppAudio: VoiceSettings.getShareAppAudio(),
shareDesktopAudio: VoiceSettings.getShareDesktopAudio(),
});
}
const {captureOptions, publishOptions} = buildScreenShareOptions({
resolution,
frameRate,