Browse Source

docs: align onPlayError policy comment with branches

main
xiaosi 2 weeks ago
parent
commit
a00b3643dc
  1. 4
      src/composables/useMonitorLive.js

4
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

Loading…
Cancel
Save