Commit Graph

32 Commits

Author SHA1 Message Date
aler9
2af39db5be hls: add https tests 2021-10-26 14:54:28 +02:00
aler9
9155bffefb allow disabling HTTPS validation by using sourceFingerprint (#665) 2021-10-25 21:14:13 +02:00
aler9
e78544f23e update gortsplib 2021-09-28 15:47:56 +02:00
aler9
68ab5c05f6 move aac utilities into gortsplib 2021-09-23 20:24:10 +02:00
aler9
3b0327233e move hls utils into gortsplib 2021-09-23 20:14:20 +02:00
aler9
06cffc44df hls: move constants into right file 2021-09-23 11:14:57 +02:00
aler9
9398cea0c2 update golangci-lint 2021-09-09 23:05:54 +02:00
aler9
ef4b925209 hls: fix discontinuity of TS counters between segments 2021-09-07 12:02:44 +02:00
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
2710189945 hls: fix error that caused primary playlist not to be served to more than 1 client 2021-09-06 20:02:23 +02:00
aler9
e189f4570c hls, rtmp: set DTS = PTS when a IDR frame is received 2021-09-06 19:04:39 +02:00
aler9
df4c268813 support proxying HLS 2021-09-05 18:00:29 +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
6b6d314a07 hls: revert 93b1433 and send PCR once in a while 2021-08-21 21:13:23 +02:00
aler9
b3c13fcf9a hls: do not send DTS if PTS = DTS 2021-08-20 13:07:35 +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
bd5e6d1027 hls: send PCR with every IDR NALU 2021-08-15 09:06:55 +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
d5b10fdd66 hls: improve tests 2021-08-14 16:35:25 +02:00
aler9
6ad638d0e8 hls: fix compatibility with video.js and iOS
add AUDs to all h264 packet groups
2021-08-14 16:35:09 +02:00
aler9
3828b71206 fix docs 2021-08-14 13:52:57 +02:00
aler9
5a814480b3 hls: write PMT/PAT tables once at the beginning of every TS segment 2021-08-14 13:05:42 +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
aler9
9062dbf883 move most components into internal/core
in this way coverage can be computed correctly.
2021-07-24 16:09:52 +02:00