fix: use loopbackWithMute instead of loopback to prevent echo

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit is contained in:
Jacob Schlecht 2026-05-02 23:32:35 -06:00
parent 5ddd5a9343
commit 956d8a7cdd
1 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ export function createMainWindow() {
// See vencord for an implementation using a virtual microphone.
callback({
video: sources[0],
audio: request.audioRequested ? "loopback" : undefined,
audio: request.audioRequested ? "loopbackWithMute" : undefined,
});
return;
}
@ -213,7 +213,7 @@ export function createMainWindow() {
} else {
callback({
video: sources[idx],
audio: audio ? "loopback" : undefined,
audio: audio ? "loopbackWithMute" : undefined,
});
}
},