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
70 lines
1.6 KiB
TOML
70 lines
1.6 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
exclude = ["fuzz"]
|
|
members = [
|
|
"crates/proto/tsproto-types",
|
|
"crates/proto/tsproto-structs",
|
|
"crates/proto/tsproto-packets",
|
|
"crates/proto/tsproto",
|
|
"crates/proto/ts-bookkeeping",
|
|
"crates/proto/tsclientlib",
|
|
"crates/tsc-audio",
|
|
"crates/tsc-core",
|
|
"crates/tsc-gateway",
|
|
"crates/tsc-gateway-proto",
|
|
"crates/tsc-model",
|
|
"crates/tsc-observer",
|
|
"crates/tsc-query",
|
|
"crates/tsc-store",
|
|
"crates/tsc-stream",
|
|
"crates/tsc-ui",
|
|
"tools/tsctl",
|
|
]
|
|
default-members = [
|
|
"crates/proto/tsproto-types",
|
|
"crates/proto/tsproto-structs",
|
|
"crates/proto/tsproto-packets",
|
|
"crates/proto/tsproto",
|
|
"crates/proto/ts-bookkeeping",
|
|
"crates/proto/tsclientlib",
|
|
"crates/tsc-audio",
|
|
"crates/tsc-core",
|
|
"crates/tsc-gateway",
|
|
"crates/tsc-gateway-proto",
|
|
"crates/tsc-model",
|
|
"crates/tsc-observer",
|
|
"crates/tsc-query",
|
|
"crates/tsc-store",
|
|
"crates/tsc-stream",
|
|
"crates/tsc-ui",
|
|
"tools/tsctl",
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
rust-version = "1.94"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/Faumaray/teamspeak_client_rs"
|
|
publish = false
|
|
|
|
[workspace.lints.rust]
|
|
# deny, not forbid: generated code (Slint) needs a local allow.
|
|
unsafe_code = "deny"
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "warn", priority = -1 }
|
|
|
|
[profile.dev.package.num-bigint]
|
|
# The Init1 puzzle does a large modular exponentiation on connect; unoptimized
|
|
# it takes seconds.
|
|
opt-level = 3
|
|
|
|
[profile.dev]
|
|
# Line tables (for backtraces) for workspace crates, no debug info for
|
|
# dependencies: keeps target/ several times smaller. Override locally for
|
|
# debugging with CARGO_PROFILE_DEV_DEBUG=true.
|
|
debug = "line-tables-only"
|
|
|
|
[profile.dev.package."*"]
|
|
debug = false
|