New crate tsc-stream for TeamSpeak 6 streams:
- proto: typed StreamNotification from the notifystream* messages and
builders for setupstream, joinstreamrequest, respondjoinstreamrequest,
streamsignaling, removeclientfromstream and stopstream
- signal: the JSON messages inside streamsignaling (offer, answer,
iceCandidate, reconnect), accepting the known key spellings
- stun: minimal STUN binding client for server-reflexive candidates
- peer: a str0m peer connection driven by a tokio task, one UDP socket per
host address; STUN lookups run in the background and found candidates are
reported for trickling
Declarations (verified against 6.0.0-beta13.1): joinstreamrequest; stopstream
and removeclientfromstream require `reason`; is_remove/reason/return_code on
the notifications.
Tests: two peers over loopback exchange VP8 and Opus frames; with TSC_LIVE=1 a
whole stream runs through the TS6 dev server (setup, join, offer, answer,
media, kick, stop). it-smoke.sh runs it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
joinstreamrequest needs id, clid, msg and is_remove (found by probing a
live stream with parameter names from the server binary). The server
embeds the protobuf schema of the new protocol; its enums explain the
setupstream type/accessibility/mode values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
- tsc-model: tree_rows/order_siblings (flattened channel tree in
TeamSpeak's sibling order, collapsible).
- tsc-ui: Slint (fluent-dark) window with server list and bookmark
editor, channel tree (talking, muted, away, streaming, password
markers; click opens channel chat, double-click joins), chat tabs with
unread counts, connect/observe/mute/push-to-talk toolbar, narrow
single-pane layout for small screens, About page with the Slint
attribution. Engine events are marshalled to the UI thread; secrets
go to the OS keyring (memory fallback).
- Dev switches TSC_DATA_DIR, TSC_AUTOCONNECT and TSC_SCREENSHOT; the
README screenshots were taken under Xvfb against the dev servers.
- Workspace lint unsafe_code: deny (Slint's generated code needs a
local allow).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
- tsc-gateway-proto: versioned JSON envelope (tsgw.v1+json), client and
server messages, identity-challenge auth (ECDSA P-256 over a signed
challenge), unique ids for TS3 (SHA-1) and TS6 (SHA-256, verified on
6.0.0-beta13.1), hash-cash level.
- tsc-gateway (tsgw): axum WebSocket server; hub with one observer, a
relay pool and a lookup query session; login by signature or token;
permission mirroring via permoverview (server group/client/channel
group/channel-client levels, skip and negate); per-user filtered
presence (snapshot + diff deltas); channel/server chat relay with
server-known nicknames, rate limit, idle relay teardown, pinned
channels; SQLite tokens, history and audit; Dockerfile; admin guide.
- tsctl gateway client; smoke test covers gateway presence, chat both
ways and refusal of unknown identities on TS3 and TS6.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
- tsc-query: ServerQuery codec (escaping, rows, errors, notifications,
command builder/parser), line client for raw TCP and SSH (russh) with
events, flood-limit token bucket and keepalive, HTTP WebQuery client.
- tsc-model: Presence (snapshot/delta/diff), ChannelInfo, ClientInfo,
ChatMessage, relay formatting and message splitting.
- tsc-observer: Observer (snapshot, events or polling, resync,
reconnect) and RelayPool (one query session per channel, reads channel
chat and posts as [Nick] text, unique nicknames, polite quit).
- tsctl query/observe/relay; smoke test covers presence and relay on
TS3 (raw) and TS6 (SSH). Dev servers enable all query interfaces with
a fixed dev password.
- docs: query clients are hidden by clients, not the server.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
- Declarations: client_is_streaming (Client::is_streaming), initserver
virtualserver_address/virtualserver_version_sign, stream
notifications and commands (setupstream, stopstream, ...).
- tsctl: prints stream notifications and streaming state changes, marks
streaming clients in the tree.
- CI: cargo-deny with default features (rug/GMP is benchmark-only).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
- .github/workflows/ci.yml: fmt/clippy (strict for own crates), build and
test on ubuntu-24.04 and windows-2025, cargo-deny, TS3/TS6 smoke test
- deny.toml: permissive licenses only, advisories, sources
- README, docs/architecture.md (design + milestones),
docs/protocol-notes/ts6-streaming.md incl. first probe results
against 6.0.0-beta13.1 (setupstream works for guests,
joinstreamrequest exists)
- tsctl repl: /raw command
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G