mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(app): apply the screen share audio toggle to the surface being shared (#1813)
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user