M5 (part 1): tsc-core engine
Engine with Command/Event API for the UI. One actor per server session merges three sources: - voice: tsclientlib connection, book -> Presence, chat, talking indicators, move/mute, audio packets - gateway: tsgw client (identity login, presence, relayed chat) - query: own ServerQuery credentials via tsc-observer (observer + relays) Presence authority voice > gateway > query; chat routing (voice for own channel/server/private, else gateway, else query) and cross-source dedup; stale source events are dropped by generation. Audio thread keeps cpal devices off the runtime: capture -> linear resample -> Opus (push-to-talk or VAD), incoming -> mixer -> playback. Live test (TSC_LIVE=1, part of the smoke script) covers voice, query presence and relay chat both ways on TS3 and TS6. 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
120d3dfc82
commit
e4a9860727
13 files changed
+1783
No files matched your search
@@ -9,6 +9,7 @@ members = [
|
||||
"crates/proto/ts-bookkeeping",
|
||||
"crates/proto/tsclientlib",
|
||||
"crates/tsc-audio",
|
||||
"crates/tsc-core",
|
||||
"crates/tsc-gateway",
|
||||
"crates/tsc-gateway-proto",
|
||||
"crates/tsc-model",
|
||||
@@ -25,6 +26,7 @@ default-members = [
|
||||
"crates/proto/ts-bookkeeping",
|
||||
"crates/proto/tsclientlib",
|
||||
"crates/tsc-audio",
|
||||
"crates/tsc-core",
|
||||
"crates/tsc-gateway",
|
||||
"crates/tsc-gateway-proto",
|
||||
"crates/tsc-model",
|
||||
|
||||
Reference in new issue
Block a user