mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 01:42:50 +08:00
Experimental TeamSpeak 2 support behind ENABLE_TS2
New connector module (connector/src/ts2.rs) speaks the TS2 UDP protocol: login, channel and player lists, Speex voice both ways, status flags, channel switching, private messages and server messages. Channel/server chat goes through too but the server only delivers it when the user has the text permission; a refusal shows up as an error. Off by default. ENABLE_TS2=1 on the gateway adds "ts2" as a server type and feature; the connect dialog offers it only then, read from the new GET /api/features. Documented in the README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
9878b1caf3
commit
d3b0d8ccdd
15 files changed
+1131
-19
No files matched your search
@@ -7,7 +7,7 @@ edition = "2021"
|
||||
tsclientlib = { path = "../tsclientlib/tsclientlib", default-features = false, features = ["default-tls", "audio"] }
|
||||
tsproto-packets = { path = "../tsclientlib/utils/tsproto-packets" }
|
||||
audiopus = "0.3.0-rc.0"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "io-std", "io-util"] }
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "io-std", "io-util", "net"] }
|
||||
futures = "0.3"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
@@ -17,3 +17,4 @@ num-traits = "0.2"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
base64 = "0.22"
|
||||
time = "0.3"
|
||||
speex-sys = "0.4"
|
||||
Reference in new issue
Block a user