From f57d6301886807984b33b4d6890d62ee4432d4e6 Mon Sep 17 00:00:00 2001 From: xiaosi <2652281683@qq.com> Date: Thu, 3 Sep 2026 10:45:37 +0800 Subject: [PATCH] docs: add live playback stabilize plan Tasked LivePlayer HLS softening, startup window, media recover, and onPlayError policy verify before build/deploy smoke. --- .../2026-09-03-live-playback-stabilize.md | 214 ++++++++++++++++++ 1 file changed, 214 insertions(+) create mode 100644 docs/superpowers/plans/2026-09-03-live-playback-stabilize.md diff --git a/docs/superpowers/plans/2026-09-03-live-playback-stabilize.md b/docs/superpowers/plans/2026-09-03-live-playback-stabilize.md new file mode 100644 index 0000000..0fe0112 --- /dev/null +++ b/docs/superpowers/plans/2026-09-03-live-playback-stabilize.md @@ -0,0 +1,214 @@ +# Live Playback Stabilize Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Reduce dock live stutter / artifacting / full-player reconnects by tuning HLS for normal (non-LL) live and narrowing play-url rebuilds. + +**Architecture:** Keep responsibilities: `LivePlayer.vue` owns media attach/retry/recover; `useMonitorLive.js` owns session/lease/play-url. Soften hls.js for 6–12s segments, lengthen startup same-URL 404 window, attempt one media recover before bubbling fatals, leave TLS/403/57006 paths unchanged. + +**Tech Stack:** Vue 3, hls.js, existing Monitor live composable + +**Spec:** `docs/superpowers/specs/2026-09-03-live-playback-stabilize-design.md` + +--- + +### Task 1: LivePlayer HLS config + startup window + +**Files:** +- Modify: `src/components/LivePlayer.vue` + +- [ ] **Step 1: Lengthen startup retry constants** + +Near top of `