feat: Add user statuses and cards

This commit is contained in:
2026-04-16 22:52:45 +02:00
parent b4ac0cdc92
commit 2927a86fbb
57 changed files with 1964 additions and 185 deletions

View File

@@ -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