Commit Graph

261 Commits

Author SHA1 Message Date
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
aler9
de70566179 hls, rtmp: fix DTS generation, avoid non-increasing DTS 2021-12-10 23:03:17 +01:00
aler9
a54ecaefe1 hls, rtmp: compute duration correctly in case of an RTP overflow 2021-12-09 20:28:45 +01:00
aler9
9a19635b1c restore 32bit support 2021-12-08 18:18:14 +01:00
aler9
f041af2b65 rtsp server: slightly improve performance when reading with TCP 2021-12-08 17:54:05 +01:00
aler9
26facc24f2 rtsp server: write UDP packets in parallel.
A goroutine writer is allocated for each session and
for each multicast stream.

This increases bandwidth and prevents freezes caused
by lagging readers.
2021-12-07 23:13:55 +01:00
aler9
8cf40a21d8 rtsp server, rtsp source: send receiver reports only after receiving a sender report 2021-12-06 17:17:59 +01:00
aler9
c65f4509bd update gortsplib 2021-12-05 14:36:57 +01:00
aler9
a1fed6fb38 rtsp source: set ServerName when using TLS (#708) 2021-12-03 23:33:28 +01:00
aler9
6c3302a83f rtsp source: send receiver reports even with sourceAnyPortEnable (#698) 2021-11-30 22:24:37 +01:00
aler9
05b1a7e720 update gortsplib 2021-11-28 13:04:00 +01:00
aler9
21cf17e65e rtsp server: reply with code 454 when session is not found 2021-11-26 15:53:59 +01:00
aler9
411a35e89f rtsp source: fix EOF error that happens when using TCP with some cameras (#548) 2021-11-18 12:18:56 +01:00
aler9
b4155a4fdf rtsp: support reading with VLC and multicast 2021-11-15 17:58:14 +01:00
aler9
958c333cde rtsp source: support reading from servers that use random UDP ports (#691) 2021-11-13 10:15:58 +01:00
aler9
f7419586af update gortsplib 2021-11-12 22:29:56 +01:00
aler9
d5c55a8ddc move test into gortsplib 2021-11-06 13:38:51 +01:00
aler9
5f3ceb6d1e rtsp source: fix detection of GET_PARAMETER support 2021-11-06 12:09:46 +01:00
aler9
a867c469fd fix automatic deletion of regexp paths (#664) (#680) 2021-11-03 22:28:50 +01:00
aler9
eab2663420 move VLC authentication hack into gortsplib 2021-10-30 15:05:27 +02:00
aler9
0c4cfd0e53 update gortsplib 2021-10-30 13:55:05 +02:00
aler9
8df5c52a6c rtsp: make VLC-related error message more clear when 2021-10-28 18:40:57 +02:00
aler9
8875c8eaa6 rtsp: print exact reason when a session is destroyed (#649) 2021-10-27 19:49:43 +02:00
aler9
509bed355a update gortsplib 2021-10-22 18:41:10 +02:00
aler9
ae0d959892 update go-astits 2021-10-01 14:05:20 +02:00
aler9
fc46c33a96 avoid crash when proxing HLS (#558) 2021-09-30 11:49:06 +02:00