From 9652a3efe54b4c80473bade7a76cb671cf5ede93 Mon Sep 17 00:00:00 2001 From: Moepchi Date: Fri, 11 Sep 2026 05:35:04 +0000 Subject: [PATCH] Mark TS6 streaming as alpha in the UI and the docs Streaming interoperates with TeamSpeak 6 over a protocol TeamSpeak does not document; the wire format here was derived from observed behavior. It can fail to connect, deliver a poor picture, mishandle viewer admission, or break with any TS6 update - which is a different stability expectation than the rest of WebSpeak3, and users should not have to infer that from a release note they read once. So the badge sits everywhere the feature is reachable: the stream settings dialog (with a sentence explaining what "alpha" means here), both stream panels, and the toolbar button's tooltip. README and ROADMAP say the same, including the two gaps that are most likely to be mistaken for bugs - no SFU ("Server" mode), no camera source. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU --- README.md | 1 + ROADMAP.md | 7 +++++++ web/src/App.css | 30 ++++++++++++++++++++++++++++++ web/src/App.tsx | 25 +++++++++++++++++++++---- web/src/i18n.tsx | 8 ++++++++ 5 files changed, 67 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fd077df..2a350fd 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ not need to be installed on the same machine, modified, or operated by you. | 🔁 **Multi-join (server tabs)** | Several connections in parallel — one tab per server, like GreenTeaSpeak 2. Audio stays on the active tab | | 🔁 **Seamless reconnect** | Switch or add connections mid-session without tearing down unrelated tabs | | 🍵 **GreenTeaSpeak support** | Connects to real GreenTeaSpeak servers (not just TS3/TS6/TeaSpeak), plus an optional GTS-styled UI chrome (dark panels, gold menu bar, connection-tab strip) alongside the default look | +| 🖥️ **Screen streaming to/from TS6** | **ALPHA · UNSTABLE** Share your screen to native TeamSpeak 6 clients and watch theirs. Built on TS6's undocumented Stream/Call protocol — expect it to break; see [Roadmap](ROADMAP.md) | ## 🧱 Tech Stack diff --git a/ROADMAP.md b/ROADMAP.md index c17fc81..6289d3d 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -19,6 +19,13 @@ This roadmap is intentionally outcome-focused. It does not promise fixed dates. ## Experimental or still being validated +- **Screen streaming to and from TeamSpeak 6 (alpha, unstable).** WebSpeak3 can + publish a screen share that a native TS6 client can watch, and watch a stream + a TS6 client publishes. It speaks TS6's Stream/Call protocol, which TeamSpeak + 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. - Safari and Mobile Safari audio/microphone behavior - Uncommon TeamSpeak permission combinations and large permission sets - Very large servers and long-running browser sessions diff --git a/web/src/App.css b/web/src/App.css index e25fd0f..3c69822 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -26,6 +26,7 @@ --log-bg: #f7f8f9; --log-text: #333; --log-error: #b3261e; + --alpha-badge: #a15c07; display: flex; flex-direction: column; @@ -68,6 +69,7 @@ --log-bg: #202124; --log-text: #c7c9cc; --log-error: #f2867a; + --alpha-badge: #e0a23c; color-scheme: dark; } @@ -97,6 +99,7 @@ --log-bg: oklch(0.17 0.014 258); --log-text: oklch(0.62 0.014 258); --log-error: oklch(0.68 0.16 25); + --alpha-badge: oklch(0.75 0.14 70); color-scheme: dark; font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; } @@ -827,6 +830,7 @@ --log-bg: oklch(0.155 0.018 290); --log-text: oklch(0.64 0.014 290); --log-error: oklch(0.68 0.16 25); + --alpha-badge: oklch(0.75 0.14 70); color-scheme: dark; font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; } @@ -1442,6 +1446,32 @@ font-size: 0.85em; } +/* Deliberately loud: the feature speaks an undocumented TS6 protocol, so the + user should never be in doubt that it is experimental. */ +.ts-alpha-badge { + display: inline-block; + padding: 0 0.35em; + border: 1px solid var(--alpha-badge); + border-radius: 3px; + color: var(--alpha-badge); + font-size: 0.7em; + font-weight: 700; + letter-spacing: 0.06em; + text-transform: uppercase; + vertical-align: middle; + white-space: nowrap; +} + +.ts-alpha-note { + margin: 0 0 0.75rem; + padding: 0.5rem 0.6rem; + border-left: 3px solid var(--alpha-badge); + background: var(--log-bg); + color: var(--text-muted); + font-size: 0.85em; + line-height: 1.4; +} + .ts-stream-panel-close { padding: 0 0.35rem; background: none; diff --git a/web/src/App.tsx b/web/src/App.tsx index ab231ac..e090376 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -1615,6 +1615,18 @@ 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]; +// 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. +function AlphaBadge() { + const t = useT(); + return ( + + {t("publish.alpha")} + + ); +} + function SegmentedChoice({ value, options, @@ -1690,12 +1702,15 @@ function StreamSettingsDialog({
e.stopPropagation()}>
- {t("publish.dialog.title")} + + {t("publish.dialog.title")} +
+

{t("publish.alphaNote")}

{t("publish.dialog.basic")}

@@ -9074,7 +9089,7 @@ function AppInner() { className={`ts-icon-button${publishState === "live" ? " ts-mic-on" : ""}`} onClick={handleStreamButton} disabled={!connected || ownClientId === null} - title={publishState === "live" ? t("publish.stop") : t("publish.start")} + title={`${publishState === "live" ? t("publish.stop") : t("publish.start")} (${t("publish.alpha")})`} > {publishState === "live" ? "🛑" : "🖥️"} @@ -9628,7 +9643,9 @@ function AppInner() { {publishState !== "idle" && publishState !== "stopped" && (
- 🖥️ {t("publish.title")} + + 🖥️ {t("publish.title")} + {publishState === "live" ? t("publish.viewers", { count: String(publishViewers.length) }) @@ -9675,7 +9692,7 @@ function AppInner() {
- 📺 {watchedStream.name || t("stream.untitled")} + 📺 {watchedStream.name || t("stream.untitled")} {streamState === "connected" ? t("stream.live") : t(`stream.state.${streamState}`)} diff --git a/web/src/i18n.tsx b/web/src/i18n.tsx index 93aa1e5..39ca21e 100644 --- a/web/src/i18n.tsx +++ b/web/src/i18n.tsx @@ -376,6 +376,10 @@ const translations: Record> = { "tree.noTalkPower": "Keine Redeerlaubnis in diesem Channel", "tree.soundMuted": "Ton stummgeschaltet (deafened)", "tree.streaming": "Überträgt einen Stream", + "publish.alpha": "Alpha", + "publish.alphaTitle": "Alpha – instabil, kann sich jederzeit ändern oder brechen", + "publish.alphaNote": + "Streaming ist Alpha. Es spricht TeamSpeak 6s Stream/Call-Protokoll, das nicht dokumentiert ist – Verbindungsaufbau, Bildqualität und Zuschauerverwaltung können fehlschlagen oder sich ohne Vorankündigung ändern. Nicht für produktive Nutzung gedacht.", "publish.start": "Bildschirm übertragen", "publish.stop": "Übertragung beenden", "publish.title": "Deine Übertragung", @@ -1009,6 +1013,10 @@ const translations: Record> = { "tree.noTalkPower": "No talk power in this channel", "tree.soundMuted": "Sound muted (deafened)", "tree.streaming": "Broadcasting a stream", + "publish.alpha": "Alpha", + "publish.alphaTitle": "Alpha - unstable, may change or break at any time", + "publish.alphaNote": + "Streaming is alpha. It speaks TeamSpeak 6's undocumented Stream/Call protocol, so connecting, picture quality and viewer handling can fail or change without notice. Not meant for production use.", "publish.start": "Share your screen", "publish.stop": "Stop sharing", "publish.title": "Your broadcast",