mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 12:02:50 +08:00
M003: add TeamSpeak reconnect recovery
This commit is contained in:
1 parent
8c7a940de5
commit
3cca211ae9
10 files changed
+362
-98
No files matched your search
@@ -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"],
|
||||
|
||||
Reference in new issue
Block a user