Commit Graph

239 Commits

Author SHA1 Message Date
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
aler9
e851640ab6 avoid crash in case of invalid H264 SPS (#590) 2021-09-28 22:26:26 +02:00
aler9
e78544f23e update gortsplib 2021-09-28 15:47:56 +02:00
aler9
54292d712e convert the configuration into JSON before loading it 2021-09-27 16:40:49 +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
aec5f53756 rtsp: do not allow a client to control a session created with a different IP 2021-09-23 19:54:29 +02:00
aler9
2d5e1fa823 use crypto/rand instead of math/rand to avoid port conflicts and security issues 2021-09-23 19:38:40 +02:00
aler9
21539d341c update gortsplib; this include:
* do not allow a session to setup UDP tracks from different IPs
* do not allow a reader to use the same UDP ports of another reader
2021-09-23 19:20:34 +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
57f465ccd8 rtsp source: support servers that change interleaved IDs 2021-08-25 18:10:20 +02:00
aler9
20ac25571c api: add "state" field to RTSP sessions and RTMP connections 2021-08-11 12:25:19 +02:00
aler9
6163095a11 fix crash that happens when sourceOnDemand is true and a source times out 2021-08-10 18:36:34 +02:00
aler9
ed375583d0 Implement an HTTP API to query and control the server 2021-08-07 19:20:39 +02:00
aler9
be1e7c5cc9 move code into gortsplib 2021-07-31 21:27:55 +02:00
aler9
c3c643c602 hls: move muxer into dedicated object 2021-07-24 18:31:54 +02:00
aler9
3107b09dfe switch to asticode/go-astits 2021-07-05 13:10:43 +02:00
aler9
a6d9578d4c RTSP server: support setupping tracks with arbitrary interleaved IDs (#402) 2021-06-26 13:46:31 +02:00
aler9
0d34a10c1c RTSP source: always set Range header inside PLAY requests, fixing compatibility with Parrot Streaming Server (#413) 2021-06-22 22:54:30 +02:00
aler9
a8a0944c09 RTSP source: fix reading with multicast 2021-06-19 21:29:56 +02:00
aler9
fbe3d9c67e RTSP server: use one IP for each multicast stream; add multicast parameter to the configuration file 2021-06-19 21:29:56 +02:00
aler9
64273b9682 RTSP server: fix bug that prevents clients from receiving with multicast after all previous clients have disconnected 2021-06-19 16:16:50 +02:00