Commit graph

294 commits

Author SHA1 Message Date
aler9
6de8277cb7 support SDPs with TIAS bandwidths (#948) 2022-05-23 21:30:41 +02:00
aler9
2fba878755 rtsp server: fix wrong RTP-Info header (#922)
- fix truncation to seconds of RTP time in RTP-Info
- add a small quantity to rtptime in RTP-Info
- add 1 to last sequence number in RTP-Info
2022-05-16 14:37:05 +02:00
aler9
7ecd52808a rtsp source: support cameras that provide base URL inside control attribute (#683) 2022-05-11 16:54:07 +02:00
aler9
d6a804f592 rtsp server: improve performance when reading with TCP 2022-05-11 16:37:33 +02:00
aler9
f521049e2f rtsp source: restore support for cameras with percent sign in password 2022-05-10 17:33:34 +02:00
aler9
901eae2f6b fix bias error in AAC timestamp 2022-05-10 13:29:32 +02:00
aler9
1ad0df128d rtsp source: fix timeout (https://github.com/aler9/rtsp-simple-server/discussions/897)
that happens when there's a UDP->TCP switch and Content-Base contains
an absolute URL
2022-05-02 19:03:00 +02:00
aler9
6c95ea2837 rtsp source: support AUs wrapped inside ADTS (#855) 2022-04-29 12:33:33 +02:00
aler9
411fb989eb hls client: add limit on NALU size 2022-04-29 12:23:13 +02:00
aler9
35b3541e4f hls client: add limit on AU size 2022-04-29 12:02:11 +02:00
aler9
91ce2dd886 rtsp server: fix reading with multicast when host is macOS (#895) 2022-04-21 13:54:19 +02:00
aler9
c700e309ce rtsp server: fix reading with ffplay and stateless ipv6 2022-04-21 13:16:56 +02:00
aler9
0912042fb1 hls muxer: do not increase version number of MPEG-TS tables unless there's a reason (https://github.com/asticode/go-astits/pull/38) 2022-04-21 09:20:08 +02:00
aler9
9098644802 rtsp source: fix parsing of transport header with dahua rtsp server (https://github.com/aler9/gortsplib/issues/121) 2022-04-21 09:02:44 +02:00
aler9
385e301728 rtsp server/source: support AAC tracks with indexlength=0 2022-04-15 18:44:00 +02:00
aler9
6b86607092 rtsp source: improve support for AAC tracks with custom parameters 2022-04-15 17:01:18 +02:00
aler9
db7ee22789 rtsp source: support AAC tracks with custom sizelength, indexlength and indexdeltalength
(https://github.com/aler9/gortsplib/pull/118)
2022-04-15 13:17:00 +02:00
aler9
2a0dc3b63d rtsp: improve performance; add upper limit on NALU/AU size to prevent RAM exhaustion 2022-04-10 15:34:33 +02:00
aler9
98c6cd4650 RTSP: automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize 2022-04-09 20:20:14 +02:00
aler9
50d1079f70 RTSP: fix multicast TTL; set default multicast TTL to 16 (#873) 2022-04-09 11:28:40 +02:00
aler9
d929197b21 propagate H264 packets throughout the server 2022-04-08 18:19:53 +02:00
aler9
3fc4ca6465 update gortsplib; downgrade pion/rtp to v1 2022-04-01 12:04:21 +02:00
aler9
f53b316c0d rtsp server: generate RTCP sender reports automatically; stop routing RTCP packets 2022-03-24 15:44:34 +01:00
aler9
a6986e9fa4 update gortsplib 2022-03-24 12:59:22 +01:00
aler9
8cb2a7ffd4 rtsp source: support servers that sends UDP packets with a different IP (https://github.com/aler9/gortsplib/pull/108) 2022-03-18 16:58:28 +01:00
aler9
544c192103 update gortsplib 2022-03-15 12:59:10 +01:00
aler9
e611c7ddfd RTSP source: skip tracks with an invalid clock rate (#832) 2022-03-15 12:37:02 +01:00
aler9
245d58ee47 RTSP server: set timeout in Session header only when client is playing and protocol is UDP 2022-03-09 10:09:03 +01:00
aler9
6dc11c2906 RTSP server/source: fix encoding of RTP packets with padding
This fixes a SIGSEGV with GStreamer.
2022-03-08 12:54:23 +01:00
aler9
20a8862b2f RTSP source: restore packet buffering with the UDP transport 2022-03-07 22:45:23 +01:00
aler9
87f24f1704 update gortsplib 2022-02-19 23:06:24 +01:00
aler9
d7edf42c40 rtsp server: restore authentication (#840) 2022-02-19 22:06:57 +01:00
aler9
5f9b705a03 RTSP server: remove Session header from ANNOUNCE responses (#840) 2022-02-19 19:25:27 +01:00
aler9
16df033d21 update gortsplib 2022-02-19 16:08:10 +01:00
aler9
43471a05ab update gortsplib 2022-02-18 10:24:33 +01:00
aler9
5504ff44b6 rtsp: parse all incoming RTP/RTCP packets 2022-02-18 00:14:52 +01:00
aler9
ae7b1c2ea6 rtmp, hls: fix wrong timestamp computation that happened at 28h28m
this was caused by a int64 overflow.
2022-02-13 17:03:19 +01:00
aler9
7c1d329d61 rtsp server: fix multicast listen error on Windows (#742)
This happened when the system has network interfaces that don't support multicast.
2022-02-02 18:32:09 +01:00
aler9
6c7fd8ee6f fix bad track cloning and restore HLS audio support (#808) 2022-02-01 19:24:33 +01:00
aler9
f330cc6997 rtsp source: fix crash in case a PLAY request fails 2022-01-31 10:03:55 +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
9bc364fa21 support H264 tracks that contains extra data in sprop-parameter-set 2022-01-30 14:30:01 +01:00
aler9
b8bf747796 update gortsplib 2022-01-23 22:41:07 +01:00
aler9
6f5bc158cd do not treat generic bytes as strings into errors
this avoid invalid log messages
2022-01-23 12:43:50 +01:00
aler9
54d950b0af RTSP server: send session timeout to clients through the session header (#702) 2022-01-20 16:39:07 +01:00
aler9
c6a4794a25 RTSP source: set keepalive by using the session header
This fixes timeouts with a lot of cameras, when using UDP.
2022-01-20 12:04:07 +01:00
aler9
530e8f8467 rtsp source: fix '401 Unauthorized' error with some Hikvision cameras
when automatically switching protocol
2022-01-18 16:22:31 +01:00
aler9
7005108313 hls, rtmp: fix timestamp decoding in case of an overflow followed by a negative time diff 2022-01-18 11:56:09 +01:00
aler9
8a9c8243e4 fix transport header error with some Hikvision cameras
fixes 'invalid transport header: encoding/hex: invalid byte: U+0020 ' ''.
2022-01-05 12:10:21 +01:00