M7 (part 1): tsc-stream signalling and str0m peers
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
This commit is contained in:
1 parent
afe37b23a5
commit
0b1aa5664e
16 files changed
+1974
-37
No files matched your search
@@ -16,6 +16,7 @@ members = [
|
||||
"crates/tsc-observer",
|
||||
"crates/tsc-query",
|
||||
"crates/tsc-store",
|
||||
"crates/tsc-stream",
|
||||
"crates/tsc-ui",
|
||||
"tools/tsctl",
|
||||
]
|
||||
@@ -34,6 +35,7 @@ default-members = [
|
||||
"crates/tsc-observer",
|
||||
"crates/tsc-query",
|
||||
"crates/tsc-store",
|
||||
"crates/tsc-stream",
|
||||
"crates/tsc-ui",
|
||||
"tools/tsctl",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user