Commit Graph

15 Commits

Author SHA1 Message Date
aler9 98bf53a1e8 hls: simplify audio pts generation 2021-09-07 10:24:57 +02:00
aler9 74f3be1eed hls: use audioAUCount only if audio is primary track 2021-09-07 10:23:32 +02:00
aler9 02afa8ff99 rtmp, hls: remove initial difference of 2secs between PTS and DTS of H264 2021-09-07 10:04:58 +02:00
aler9 e189f4570c hls, rtmp: set DTS = PTS when a IDR frame is received 2021-09-06 19:04:39 +02:00
aler9 b65207012c update gortsplib 2021-08-25 19:51:59 +02:00
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
aler9 96cb56621a hls: add primary playlist 2021-08-16 18:07:10 +02:00
aler9 ba41af91b2 hls: remove useless check 2021-08-15 09:23:19 +02:00
aler9 93b143395e hls: send PCR once, at the beginning of every TS segment 2021-08-14 17:25:40 +02:00
aler9 2d71e69e43 hls: speed up loading by decreasing PTS 2021-08-14 17:08:35 +02:00
aler9 600f7bf48c hls: move NALU filtering into hls muxer 2021-08-14 16:35:25 +02:00
aler9 3828b71206 fix docs 2021-08-14 13:52:57 +02:00
aler9 1146d5cf1b hls: new option hlsAlwaysRemux to always remux streams into HLS, not only when requested 2021-07-29 16:56:40 +02:00
aler9 4a1ca7aa3e hls: fix segment splitting error introduced by c3c643c6 2021-07-29 16:27:15 +02:00
aler9 c3c643c602 hls: move muxer into dedicated object 2021-07-24 18:31:54 +02:00