Keep live players stable across polls and automatically recover each stream

This commit is contained in:
Codex
2026-10-03 17:26:41 +08:00
parent 2649854386
commit 84a84d9af0
7 changed files with 225 additions and 23 deletions
+1 -1
View File
@@ -734,7 +734,7 @@ class Handler(BaseHTTPRequestHandler):
else:
raise Problem('接口不存在', 404)
else:
files = {'/': 'index.html', '/app.js': 'app.js', '/style.css': 'style.css',
files = {'/': 'index.html', '/app.js': 'app.js', '/live-player.js': 'live-player.js', '/style.css': 'style.css',
'/vendor/hls.min.js': 'vendor/hls.min.js'}
if path not in files:
raise Problem('页面不存在', 404)