Commit 8be28a4
fix: start HLS playback from segment 0 instead of live edge
FFmpeg encodes the full prayer at 2-10x real-time speed, so the
playlist grows much faster than wall-clock time. Without startPosition:0,
hls.js treats the stream as 'live' and seeks to the end of the current
playlist, causing users to hear only the last few seconds before the
stream ends. Forcing startPosition:0 ensures users always hear the
prayer from the beginning.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5f33f74 commit 8be28a4
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
0 commit comments