M003: add TeamSpeak reconnect recovery

This commit is contained in:
illusia committed 2026-09-01 16:59:48 +08:00
1 parent 8c7a940de5
commit 3cca211ae9
10 files changed
+362 -98

No files matched your search

+3 -3
View File
@@ -23,9 +23,9 @@ export type SessionTeardownReason =
const ALLOWED_TRANSITIONS: Record<ConnectionState, readonly ConnectionState[]> = {
idle: ["connecting", "disconnecting"],
connecting: ["authenticating", "failed", "disconnecting"],
authenticating: ["syncing", "failed", "disconnecting"],
syncing: ["connected", "failed", "disconnecting"],
connecting: ["authenticating", "reconnecting", "failed", "disconnecting"],
authenticating: ["syncing", "reconnecting", "failed", "disconnecting"],
syncing: ["connected", "reconnecting", "failed", "disconnecting"],
connected: ["interrupted", "failed", "disconnecting"],
interrupted: ["reconnecting", "failed", "disconnecting"],
reconnecting: ["connecting", "failed", "disconnecting"],