mediamtx/internal/hls
aler9 92523c2a13 hls: insert segments into playlist only after they're complete
In this way, EXT-X-TARGETDURATION and EXTINF are always filled correctly.

If no segments have been generated yet, the playlist is not returned
until a segment is inserted or the muxer is closed. This causes timeout
issues on iOS Safari, that are solved by waiting for a fetch() before starting
the video.
2021-08-23 13:12:09 +02:00
..
muxer_test.go hls: insert segments into playlist only after they're complete 2021-08-23 13:12:09 +02:00
muxer.go hls: insert segments into playlist only after they're complete 2021-08-23 13:12:09 +02:00
primaryplaylist.go hls: insert segments into playlist only after they're complete 2021-08-23 13:12:09 +02:00
segment.go hls: insert segments into playlist only after they're complete 2021-08-23 13:12:09 +02:00
streamplaylist.go hls: insert segments into playlist only after they're complete 2021-08-23 13:12:09 +02:00