aler9
9cebeac039
hls client: ignore Annex-B decode errors
2022-03-08 18:15:26 +01:00
aler9
6e75093992
hls client: fix freeze that happened during a video decoding error
2022-03-08 18:15:26 +01:00
aler9
5f976f3f38
hls client: add tests for previous commmit
2022-03-08 18:15:26 +01:00
Victor Gavro
c13e33b1ed
m3u8 relative url fixed
2022-03-08 18:15:26 +01:00
Victor Gavro
c3a1ee72bc
m3u8 relative url fixed (urls starting with // and urls with query string)
2022-03-08 18:15:26 +01:00
aler9
2680ffcecb
hls: add EXT-X-PROGRAM-DATE-TIME tag
2022-02-22 14:31:32 +01:00
aler9
9bbb188392
hls: fix computation of endPTS
2022-02-21 16:56:07 +01:00
aler9
fe32022edf
hls client: move RTP packet generation outside client
2022-02-19 12:25:23 +01:00
aler9
d0e7c3c100
update docs
2022-02-18 21:03:33 +01:00
aler9
c1eb03da26
hls: split client code into multiple files
2022-02-18 10:46:52 +01:00
aler9
5504ff44b6
rtsp: parse all incoming RTP/RTCP packets
2022-02-18 00:14:52 +01:00
aler9
43c3b7b60d
hls: fix AU counting of audio-only tracks
2022-01-30 18:35:01 +01:00
aler9
3e8668f9e2
rtsp server: allow again H264 tracks without SPS or PPS in the SDP ( #787 )
2022-01-30 17:59:24 +01:00
aler9
343a5f17fb
hls: add new parameter hlsSegmentMaxSize
2022-01-30 17:54:05 +01:00
aler9
2bfdcc7d89
update gortsplib
2022-01-30 17:43:03 +01:00
aler9
4bd5289221
hls: set audio codec mime according to mpeg4 type
2022-01-30 11:33:05 +01:00
aler9
4c7da3d80e
hls: improve tests
2022-01-29 11:36:14 +01:00
aler9
18b7d9d65b
hls: create first segment only after the first IDR is received
2022-01-28 23:30:16 +01:00
aler9
fd484c1901
temp
2022-01-27 22:34:36 +01:00
aler9
bb5129d219
hls: fix intermittent audio on iOS
2021-12-23 19:18:36 +01:00
aler9
18a6e04854
hls: fix Android compatibility by adding missing field into ADTS packets ( #749 )
2021-12-23 19:13:25 +01:00
aler9
eda8eddf5a
hls: cleanup
2021-12-14 22:30:15 +01:00
aler9
a1fed6fb38
rtsp source: set ServerName when using TLS ( #708 )
2021-12-03 23:33:28 +01:00
aler9
7668c88d3e
hls: improve performance
2021-11-30 22:02:02 +01:00
aler9
82d8dfbc6d
hls: correctly compute segment duration
...
Segment duration is now (current PTS - first PTS in segment)
Previously it was (last PTS in segment - first PTS in segment)
2021-11-30 21:30:32 +01:00
aler9
e4a5732978
hls: cleanup
2021-11-19 23:39:23 +01:00
aler9
f7419586af
update gortsplib
2021-11-12 22:29:56 +01:00
aler9
47a975de09
hls: fix race condition
2021-11-01 11:07:37 +01:00
aler9
c9c9c88ac8
update golangci-lint
2021-10-30 13:06:29 +02:00
aler9
161fa58bd6
hls: cleanup
2021-10-28 18:57:04 +02:00
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