Gate player on HLS master playlist, surface ffmpeg errors, bound respawn #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-hls-playlist-readiness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The watch player loaded /hls//master.m3u8 the instant a stream's status
flipped to "live", but ffmpeg only flips status when it launches — before any
playlist exists. When ffmpeg then crash-looped (e.g. an audio-track count
mismatch), the master playlist was never written and the player 404'd, while
ffmpeg respawned forever with its actual error swallowed.
a non-zero exit, so the real failure is diagnosable instead of discarded.
never tripped, since a failing ffmpeg lived ~8-12s per round) so a broken
stream stops looping instead of respawning indefinitely.
once master.m3u8 exists on disk; until then show a "Stream starting"
placeholder and poll every 5s, swapping in the player without a reload.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com