Streaming out of alpha; "Are you still there?" idle check

- Drop the ALPHA badge, the alpha warning in the stream dialog and the
  "(Alpha)" in the stream button's tooltip.
- New IDLE_TIMEOUT_MINUTES (admin panel / .env, 0 = off). The gateway
  announces it in the hello; after that long without input, talking or
  broadcasting the page asks "Are you still there?" and disconnects all
  tabs if nobody answers within 60 s. The page sends a throttled "active"
  message, and the gateway closes sockets that stay silent for the
  timeout plus 3 minutes, for pages that never ask. The page treats that
  close as deliberate and doesn't reconnect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-11-30 23:28:33 +00:00
1 parent fc33843179
commit 958095fbf4
10 files changed
+157 -68

No files matched your search

-3
View File
@@ -705,10 +705,7 @@
"design.store.publish.error": "发布失败。",
"recording.autoGainControl": "自动增益控制",
"tree.streaming": "正在直播",
"publish.alpha": "内测",
"publish.alphaTitle": "内测阶段 —— 不稳定,可能随时变更或失效",
"publish.demoUnavailable": "演示模式下无法使用直播功能 —— 需要真实的 TeamSpeak 6 服务器。",
"publish.alphaNote": "直播功能处于内测阶段,使用的是 TeamSpeak 6 未公开文档的 Stream/Call 协议,因此连接、画质和观众处理可能会出错或在无预警的情况下发生变化,不建议用于正式场合。",
"publish.start": "共享屏幕或摄像头",
"publish.stop": "停止共享",
"publish.title": "你的直播",