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
@@ -213,7 +213,7 @@ export type Ts3ConnectionEvent =
|
||||
/** TS6 Stream/Call signaling, forwarded verbatim; `args` is already unescaped. */
|
||||
| { type: "streamEvent"; name: string; args: Record<string, string> };
|
||||
|
||||
export type ServerType = "teamspeak" | "teaspeak" | "auto";
|
||||
export type ServerType = "teamspeak" | "teaspeak" | "auto" | "ts2";
|
||||
|
||||
export interface Ts3ConnectOptions {
|
||||
host: string;
|
||||
|
||||
Reference in new issue
Block a user