feat: Add user statuses and cards
This commit is contained in:
@@ -49,16 +49,14 @@ export class DesktopElectronScreenShareCapture {
|
||||
|
||||
const sources = await electronApi.getSources();
|
||||
const selection = await this.resolveSourceSelection(sources, options.includeSystemAudio);
|
||||
|
||||
// On Windows, electron-desktop loopback audio captures all system output
|
||||
// including the app's voice playback, creating echo for watchers or
|
||||
// requiring total voice muting for the sharer. The getDisplayMedia path
|
||||
// handles this correctly via restrictOwnAudio — if we fell back here,
|
||||
// handles this correctly via restrictOwnAudio - if we fell back here,
|
||||
// share video only so voice chat stays functional.
|
||||
const effectiveIncludeSystemAudio = this.isWindowsElectron()
|
||||
? false
|
||||
: selection.includeSystemAudio;
|
||||
|
||||
const captureOptions = {
|
||||
...options,
|
||||
includeSystemAudio: effectiveIncludeSystemAudio
|
||||
|
||||
Reference in New Issue
Block a user