mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-02 01:12:49 +08:00
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
4752971f31
commit
b84dc0faac
2 files changed
+3
-1
No files matched your search
@@ -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 |
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user