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-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
- 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