From b84dc0faacfc99748226e40751b0d1de3017545e Mon Sep 17 00:00:00 2001 From: Moepchi Date: Sat, 3 Oct 2026 09:42:54 +0000 Subject: [PATCH] chore: hide the tab audio button for now It clicks in the mix and Edge delivers Windows system audio as silence; parked until there's time to move capture to an AudioWorklet. The code stays in place behind TAB_AUDIO_SUPPORTED. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU --- README.md | 1 - web/src/App.tsx | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 725a637..01623a5 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,6 @@ not need to be installed on the same machine, modified, or operated by you. |---|---| | 🔌 **Real TeamSpeak protocol** | Connects to actual TS3/TS6, TeaSpeak, and GreenTeaSpeak servers over a WebSocket gateway — the server stays exactly as-is | | 🎙️ **Low-latency voice** | Opus-encoded voice with voice activation ("Sprachaktivierung") and adjustable sensitivity | -| 🎵 **Tab audio** | Mix a browser tab's sound (music, a video) into your voice, without the echo canceller eating it | | 🤫 **Whisper** | Target your voice at specific channels or clients instead of your whole current channel | | 🔊 **Custom audio output picker** | Route playback to any output device — works even in browsers without `AudioContext.setSinkId` | | 💬 **Full text chat** | Channel, server-wide, and private (1:1) chat, each in its own tab — Shift+Enter for a newline | diff --git a/web/src/App.tsx b/web/src/App.tsx index 74ec081..af91a7e 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -492,7 +492,10 @@ function loadFavorites(): Favorite[] { // Only Chromium hands out tab/system audio via getDisplayMedia; Firefox and // Safari return video only, so the button would just say "no audio" there. // userAgentData itself only exists in Chromium-based browsers. +// Switched off for now (2026-10-03): clicks in the mix, and Edge delivers +// Windows system audio as silence. Code stays; flip back once that's solved. const TAB_AUDIO_SUPPORTED = + false && typeof navigator.mediaDevices?.getDisplayMedia === "function" && !!(navigator as Navigator & { userAgentData?: { brands: { brand: string }[] } }).userAgentData?.brands.some( (b) => b.brand === "Chromium"