From b27f221a0a4ce7a3952f38e8bd9094acdda4226d Mon Sep 17 00:00:00 2001 From: Erwan Leboucher Date: Fri, 14 Aug 2026 11:03:42 +0200 Subject: [PATCH] fix(call): avoid PipeWire screen-share audio capture --- src/app/features/call/LivekitJsCallSurface.test.tsx | 1 + src/app/features/call/LivekitJsCallSurface.tsx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/features/call/LivekitJsCallSurface.test.tsx b/src/app/features/call/LivekitJsCallSurface.test.tsx index 454975e48..ca2ae0611 100644 --- a/src/app/features/call/LivekitJsCallSurface.test.tsx +++ b/src/app/features/call/LivekitJsCallSurface.test.tsx @@ -374,6 +374,7 @@ describe('LiveKit JS call surface', () => { const toggle = screen.getByTestId('track-toggle'); expect(toggle).toHaveAttribute('data-source', Track.Source.ScreenShare); expect(JSON.parse(toggle.getAttribute('data-capture-options') ?? '{}')).toMatchObject({ + audio: false, selfBrowserSurface: 'exclude', }); }); diff --git a/src/app/features/call/LivekitJsCallSurface.tsx b/src/app/features/call/LivekitJsCallSurface.tsx index 2dd4aa16e..8048dc7ae 100644 --- a/src/app/features/call/LivekitJsCallSurface.tsx +++ b/src/app/features/call/LivekitJsCallSurface.tsx @@ -437,7 +437,9 @@ function LivekitJsCallContent({ // itself. handleDeviceError({ source: Track.Source.ScreenShare })}