Switch the streaming UI off until the gateway catches up

client.webspeak3.de is rebuilt by Cloudflare Pages on every push to main, but
the gateway and connector are a Docker image that has to be pulled onto the
host by hand. v0.11.0-beta.1 therefore put a browser that knows setupStream in
front of a gateway that does not - and an unsupported setupStream is not an
error, it is silence: the publish panel waits at "starting" forever, after the
browser has already asked the user to share a screen. That reads as a broken
feature, which is worse than an absent one.

Both entry points are gated on one flag: the toolbar button and the "watch
stream" context-menu item. The publisher is tree-shaken out of the bundle as a
result, so nothing can reach the gateway by accident. Flip it back once the
deployed gateway is on v0.11.0-beta.1 or newer.

The durable fix is a capability handshake so the client can tell what its
gateway supports instead of assuming; noted in the roadmap.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5 committed 2026-09-11 06:39:13 +00:00
1 parent 478e5c0384
commit 5024bf9856
2 files changed
+25 -2

No files matched your search

+7 -1
View File
@@ -25,7 +25,13 @@ This roadmap is intentionally outcome-focused. It does not promise fixed dates.
does not document, so the wire format was derived from observed behavior and
may break with any TS6 update. Connection setup, picture quality, and viewer
admission are not yet dependable. The "Server" connection mode (TS6's SFU) is
not implemented; only direct P2P works.
not implemented; only direct P2P works. The UI is currently switched off by a
build-time flag, because the hosted client updates on every push while the
gateway image is deployed by hand, and a browser that offers streaming to a
gateway too old to answer waits forever instead of reporting an error. The
fix is a capability handshake so the client can detect what its gateway
supports rather than assuming; until then the flag is flipped by hand after
the gateway has been updated.
- Safari and Mobile Safari audio/microphone behavior
- Uncommon TeamSpeak permission combinations and large permission sets
- Very large servers and long-running browser sessions
+18 -1
View File
@@ -1615,6 +1615,21 @@ const RESOLUTION_CHOICES = [360, 480, 720, 1080, 1440, 0];
const FPS_CHOICES = [5, 30, 60];
const AUDIO_BITRATE_CHOICES = [64, 96, 128, 192, 256, 320];
// Kill switch for the streaming UI.
//
// The frontend and the gateway ship on different schedules: client.webspeak3.de
// is rebuilt by Cloudflare Pages on every push to main, while the gateway and
// connector are a Docker image that has to be pulled onto the host by hand. So
// right after a release the browser can already know about setupStream while
// the gateway it talks to does not - and an unsupported setupStream is not an
// error, it is silence: the publish panel waits at "starting" forever, after
// the browser has already asked the user to share a screen.
//
// Flip this back to true once the deployed gateway is on v0.11.0-beta.1 or
// newer. The durable fix is a capability handshake so the client can tell on
// its own; see ROADMAP.md.
const STREAM_UI_ENABLED = false;
// Streaming talks to TS6 over a protocol nobody published, so it is marked
// alpha everywhere the user can reach it: the settings dialog, both stream
// panels, and the toolbar button's tooltip.
@@ -9085,6 +9100,7 @@ function AppInner() {
onChange={(e) => setVadThreshold(Number(e.target.value))}
/>
</label>
{STREAM_UI_ENABLED && (
<button
className={`ts-icon-button${publishState === "live" ? " ts-mic-on" : ""}`}
onClick={handleStreamButton}
@@ -9100,6 +9116,7 @@ function AppInner() {
>
{publishState === "live" ? "🛑" : "🖥️"}
</button>
)}
<span className="ts-toolbar-sep" />
<button
className={`ts-icon-button${outputMuted ? " ts-muted-on" : ""}`}
@@ -9748,7 +9765,7 @@ function AppInner() {
<span className="ts-menu-item-icon">👉</span>
<span className="ts-menu-item-label">{t("clientContext.poke")}</span>
</button>
{!clientContextMenu.isSelf && streamInfos[clientContextMenu.clientId] && (
{STREAM_UI_ENABLED && !clientContextMenu.isSelf && streamInfos[clientContextMenu.clientId] && (
<button
className="ts-menu-item"
onClick={() => {