mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
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
21 lines
680 B
TOML
21 lines
680 B
TOML
[package]
|
|
name = "ts-connector"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
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", "net"] }
|
|
futures = "0.3"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
anyhow = "1"
|
|
num-traits = "0.2"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
base64 = "0.22"
|
|
time = "0.3"
|
|
speex-sys = "0.4"
|