From a00b3643dc389d73225c33aa6c6db8518d8cbd79 Mon Sep 17 00:00:00 2001 From: xiaosi <2652281683@qq.com> Date: Thu, 3 Sep 2026 11:02:24 +0800 Subject: [PATCH] docs: align onPlayError policy comment with branches --- src/composables/useMonitorLive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/composables/useMonitorLive.js b/src/composables/useMonitorLive.js index 68284e6..4fe4df4 100644 --- a/src/composables/useMonitorLive.js +++ b/src/composables/useMonitorLive.js @@ -351,8 +351,8 @@ export function useMonitorLive({ getDockId, ui, getLivePlayer }) { // 播放错误策略(稳播): // - 启动 404 由 LivePlayer 同 URL 窗口消化,recoverable 不上冒 - // - TLS/403 致命,禁止刷 play-url - // - 其它 LivePlayer fatal:有限次 refreshPlayURL;57006 整段 rejoin + // - 57006 → 整段 rejoin;TLS/403 → 致命且禁止刷 play-url + // - LivePlayer HlsError(含窗口耗尽)→ markPlayFatal;其余错误有限次 refreshPlayURL async function onPlayError(err) { if (disposed || live.stopping || !live.session) return