mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +09:00
fix(app): share stream audio by default and reset the opt-out per stream (#1819)
This commit is contained in:
1 parent
14e772a751
commit
137edc7cfb
4 files changed
+35
-5
No files matched your search
@@ -357,7 +357,11 @@ async function runConfiguredDisplayScreenShare(
|
||||
logger.warn('No active screen share to restart for Wayland portal source switch');
|
||||
return false;
|
||||
}
|
||||
await MediaEngine.setScreenShareEnabled(false, {sendUpdate: false, playSound: false});
|
||||
await MediaEngine.setScreenShareEnabled(false, {
|
||||
sendUpdate: false,
|
||||
playSound: false,
|
||||
preserveStreamAudioPreferences: true,
|
||||
});
|
||||
}
|
||||
let nativeAudioArmed = false;
|
||||
const isOwnWindowShare = options?.isOwnWindow === true && sourceId?.startsWith('window:');
|
||||
|
||||
Reference in new issue
Block a user