diff --git a/src/renderer/components/ScreenSharePicker.tsx b/src/renderer/components/ScreenSharePicker.tsx
index 253fccc..e9fd78e 100644
--- a/src/renderer/components/ScreenSharePicker.tsx
+++ b/src/renderer/components/ScreenSharePicker.tsx
@@ -334,9 +334,13 @@ function AudioSourcePickerLinux({
setOnlyDefaultSpeakers(b: boolean): void;
}) {
const [sources, _, loading] = useAwaiter(() => VesktopNative.virtmic.list(), {
- fallbackValue: { ok: true, targets: [] }
+ fallbackValue: { ok: true, targets: [], hasPipewirePulse: true }
});
+
const allSources = sources.ok ? ["None", "Entire System", ...sources.targets] : null;
+ const hasPipewirePulse = sources.ok ? sources.hasPipewirePulse : true;
+
+ const [ignorePulseWarning, setIgnorePulseWarning] = useState(false);
return (
<>
@@ -348,32 +352,38 @@ function AudioSourcePickerLinux({
Audio Source
)}
- {!sources.ok &&
- (sources.isGlibcxxToOld ? (
-
- Failed to retrieve Audio Sources because your C++ library is too old to run venmic. If you
- would like to stream with Audio, see{" "}
-
- this guide
-
-
- ) : (
-
- Failed to retrieve Audio Sources. If you would like to stream with Audio, make sure you're
- using Pipewire, not Pulseaudio
-
- ))}
+ {!sources.ok && sources.isGlibCxxOutdated && (
+
+ Failed to retrieve Audio Sources because your C++ library is too old to run
+
+ venmic
+
+ . See{" "}
+
+ this guide
+ {" "}
+ for possible solutions.
+
+ )}
- {allSources && (
-