feat: per-speaker volume and a gateway feature handshake

The gateway now greets every browser with {type:"hello", features:[...]} so
the hosted client, which updates on every push, can hide what an older
gateway cannot do instead of hanging on it. A gateway without "hello" is
treated as the v0.14 feature set, which replaces the hand-flipped
STREAM_UI_ENABLED switch.

First feature behind it: "clientVolume". The client context menu gets a
0-200% slider, stored per client UID in localStorage. The connector applies
it to tsclientlib's per-speaker AudioQueue.volume while mixing, and keeps the
value across talk pauses, when that queue is torn down and recreated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-10-03 00:34:12 +00:00
1 parent c0778c8adb
commit 7b3cb5ef09
10 files changed
+150 -31

No files matched your search

+11
View File
@@ -1417,6 +1417,17 @@
flex: 1;
}
.ts-menu-volume input {
flex: 1;
min-width: 6rem;
}
.ts-menu-volume-value {
min-width: 2.6rem;
text-align: right;
color: var(--text-muted);
}
.ts-menu-item-shortcut {
color: var(--text-muted);
}