mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
4d549887d5
commit
9652a3efe5
5 files changed
+67
-4
No files matched your search
@@ -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** | <sub>**ALPHA · UNSTABLE**</sub> 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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
+21
-4
@@ -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 (
|
||||
<span className="ts-alpha-badge" title={t("publish.alphaTitle")}>
|
||||
{t("publish.alpha")}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
function SegmentedChoice<T extends string | number>({
|
||||
value,
|
||||
options,
|
||||
@@ -1690,12 +1702,15 @@ function StreamSettingsDialog({
|
||||
<div className="ts-dialog-backdrop" {...backdrop}>
|
||||
<div className="ts-dialog ts-stream-settings" onClick={(e) => e.stopPropagation()}>
|
||||
<div className="ts-dialog-titlebar">
|
||||
<span>{t("publish.dialog.title")}</span>
|
||||
<span>
|
||||
{t("publish.dialog.title")} <AlphaBadge />
|
||||
</span>
|
||||
<button onClick={onCancel} title={t("dialog.close")}>
|
||||
✕
|
||||
</button>
|
||||
</div>
|
||||
<div className="ts-dialog-body">
|
||||
<p className="ts-alpha-note">{t("publish.alphaNote")}</p>
|
||||
<h4 className="ts-stream-settings-section">{t("publish.dialog.basic")}</h4>
|
||||
|
||||
<div className="ts-stream-settings-row">
|
||||
@@ -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" ? "🛑" : "🖥️"}
|
||||
</button>
|
||||
@@ -9628,7 +9643,9 @@ function AppInner() {
|
||||
{publishState !== "idle" && publishState !== "stopped" && (
|
||||
<div className="ts-stream-panel ts-stream-panel-publish">
|
||||
<div className="ts-stream-panel-header">
|
||||
<span className="ts-stream-panel-title">🖥️ {t("publish.title")}</span>
|
||||
<span className="ts-stream-panel-title">
|
||||
🖥️ {t("publish.title")} <AlphaBadge />
|
||||
</span>
|
||||
<span className="ts-stream-panel-state">
|
||||
{publishState === "live"
|
||||
? t("publish.viewers", { count: String(publishViewers.length) })
|
||||
@@ -9675,7 +9692,7 @@ function AppInner() {
|
||||
<div className="ts-stream-panel">
|
||||
<div className="ts-stream-panel-header">
|
||||
<span className="ts-stream-panel-title">
|
||||
📺 {watchedStream.name || t("stream.untitled")}
|
||||
📺 {watchedStream.name || t("stream.untitled")} <AlphaBadge />
|
||||
</span>
|
||||
<span className="ts-stream-panel-state">
|
||||
{streamState === "connected" ? t("stream.live") : t(`stream.state.${streamState}`)}
|
||||
|
||||
@@ -376,6 +376,10 @@ const translations: Record<Lang, Record<string, string>> = {
|
||||
"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<Lang, Record<string, string>> = {
|
||||
"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",
|
||||
|
||||
Reference in new issue
Block a user