Commit Graph
35 Commits
Author SHA1 Message Date
LainHE 7977572362 fix(acceleration-relay): rebuild a self-closed tunnel on reconnect
An acceleration tunnel can tear itself down on its own: a socket error, a relay
OPEN_ERR/CLOSE frame, or an open timeout runs closeSockets(), which closes both
UDP sockets and leaves every later sendFrame() a silent no-op.

TSClient kept the adapter bound to that tunnel's now-dead local port and only
rebuilt the transport when adapter or client were null. An auto-reconnect
therefore dialed a port nobody reads, and because a closed tunnel reports
nothing, the session could never recover and never surfaced an error either.

- expose isClosed() on AccelerationRelayClient so callers can distinguish a live
  tunnel from one that tore itself down
- drop a stale tunnel together with its adapter and SDK client before connect()
  decides whether to rebuild the transport, detaching first so a late
  "disconnected" from the retired client cannot re-enter the reconnect path
- cover the reconnect guard with regression tests in ts-client.test.ts

Verified: tsc clean; ts-client.test.ts 35/35 pass (incl. the two new guards).
2026-10-15 21:36:31 +08:00
illusia cec2a81549 fix: show password protected channels 2026-10-12 10:34:06 +08:00
illusia 6c57868903 fix(voice): read server banner from client handshake 2026-10-11 20:40:01 +08:00
illusia 398a4d6c7f feat(kaak): render TeamSpeak server banner 2026-10-11 19:50:35 +08:00
illusia 17fb27b89a fix: expose server identity and refine KAAK client 2026-10-11 17:14:56 +08:00
Corrupted ILLUSIA a3bf476db6 feat(kaak): show channel occupancy limits 2026-10-10 22:25:01 +08:00
illusia 0a552f7ee8 fix: consolidate audited dev updates 2026-10-08 10:32:59 +08:00
illusia 921e83dfb3 fix: acknowledge TS6 screen cleanup and include removal reason 2026-10-03 14:31:45 +08:00
illusia 77fef3bed9 fix: restore input mute after TeamSpeak flood rejection 2026-10-03 14:06:07 +08:00
illusia 777c779d79 fix: keep accompaniment audible while microphone is muted 2026-10-03 09:18:49 +08:00
illusia 878e94a93a refactor: scope SDK events and directory state to their session 2026-10-01 13:42:57 +08:00
illusia 2047e30984 fix: keep avatar transfers on their original SDK connection 2026-10-01 13:30:18 +08:00
illusia 6a821b760e fix: sync mute state and handle move permissions 2026-09-22 10:50:53 +08:00
illusia c2c38fa011 Merge remote-tracking branch 'origin/master' into dev 2026-09-20 23:31:04 +08:00
illusia 578217ba41 fix: use native screen share join requests 2026-09-20 23:28:58 +08:00
illusia d75bdccfd9 feat: add direct P2P screen sharing signaling 2026-09-20 23:15:58 +08:00
illusia faff7a2237 fix: restore member moves, avatars, and remembered identity 2026-09-19 11:12:19 +08:00
illusia 380fb67090 merge: integrate issue 6 mute synchronization 2026-09-18 18:03:05 +08:00
illusia b71632cc29 merge: integrate issue 5 avatar support 2026-09-18 18:02:27 +08:00
illusia a2e33ff176 feat: display TeamSpeak client avatars 2026-09-18 17:48:33 +08:00
illusia 010b8ef072 fix: gate member moves by TeamSpeak permissions 2026-09-18 17:36:45 +08:00
illusia bcf212738b fix: synchronize microphone mute state 2026-09-18 17:06:30 +08:00
illusia a0921c35b2 merge master error handling into denoise branch 2026-09-17 12:56:49 +08:00
LainHE 4ead174c04 feat: 浏览器端报错翻译与提示改造
- errors: 新增 TeamSpeak 服务器错误 ID 映射表与不可重连错误码集合,归一化
  normalizeTeamSpeakError 按 错误ID/关键词/异常类/传输层特征 分级收敛错误
- voice-bridge: 身份无效/客户端不可用时先发结构化 connectionFailed 帧再关闭,
  新增 pendingKickReason 机制在 kicked 事件后优先回放踢出原因;Opus 编码器
  不可用时限流上报 AUDIO_ENCODER_UNAVAILABLE
- ts-client: 记录本端退出 reasonID,转发 kicked 事件并归一化踢出/封禁原因
- network-probe/teamspeak-probe: 收窄关键字匹配、拒绝原因收敛到既有探测码
- session-manager: 新增 teamSpeak-kicked 拆除原因
- WebClient: 麦克风失败不再假成功,音频状态避免自相矛盾,新增降级横幅与
  中/英/德三语提示词表
- useVoiceWebSocket: 导出 ensureMicrophone 供开麦前预检,新增音频诊断状态、
  CONNECTION_FAILURE_MESSAGES 总表与网关关闭码映射
- 关键新增逻辑补充中文注释说明改动意图
2026-09-16 22:24:25 +08:00
illusia 7e08ee54a5 fix: classify TeamSpeak connection failures 2026-09-12 08:09:52 +08:00
illusia b82c4fe0af feat: add mainland acceleration preview 2026-09-10 14:27:33 +08:00
illusia a5e5dd6592 fix: align connection diagnostics and localize announcement 2026-09-06 08:53:39 +08:00
illusia afbbd1e2d4 refactor: migrate to maintained TeamSpeak SDK 2026-09-02 23:27:32 +08:00
illusia d7766497e8 fix complete directory sync for late web clients 2026-09-01 23:32:15 +08:00
illusia aa5c5e687f fix private chat disconnect and member menu 2026-09-01 23:23:47 +08:00
illusia 96ef77c789 feat: add real TeamSpeak whisper routing 2026-09-01 18:08:07 +08:00
illusia 509dc038c1 M006: add scoped chat and client interactions 2026-09-01 17:32:00 +08:00
illusia 3cca211ae9 M003: add TeamSpeak reconnect recovery 2026-09-01 16:59:48 +08:00
illusia 960be106bb M000: normalize configuration and TeamSpeak adapter 2026-08-31 20:14:08 +08:00
illusia 8d9b8d5627 Initial release 2026-08-31 15:43:50 +08:00