Commit Graph

1179 Commits

Author SHA1 Message Date
aler9
b8bf747796 update gortsplib 2022-01-23 22:41:07 +01:00
aler9
ef255af093 rtsp source: fix memory leak
This happened when the server was able to connect to the source,
but initialization failed before or during the PLAY request.
2022-01-23 19:36:33 +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
4abf625f83 update issue template 2022-01-20 11:57:03 +01:00
aler9
b48e2f1f1b add TODO comments 2022-01-20 10:46:05 +01:00
aler9
b50e843fbd fix typo in config 2022-01-20 10:39:44 +01:00
aler9
49449eb5ad Add new parameter 'runOnReady' (#752)
This is called when a stream is ready, whether it is published or proxied.
It replaces 'runOnPublsh'.
2022-01-19 22:50:32 +01:00
aler9
8337a90b29 fix freeze when server is shut down and runOnPublish is not empty 2022-01-19 22:19:38 +01:00
aler9
98dbf5d932 remove logLevel: debug from tests 2022-01-19 22:18:01 +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
8ac665be87 un-capitalize private fields 2022-01-14 23:42:41 +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
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
92163a2b0e hls: pring exact reason why a muxer is closed 2021-12-23 13:09:58 +01:00
aler9
ed635db87e print debug log message in case of non-critical authentication errors 2021-12-22 20:13:00 +01:00
aler9
62d5a6d5c9 fix github actions 2021-12-22 20:12:14 +01:00
aler9
d7bb27657c update readme 2021-12-22 19:15:33 +01:00
aler9
11760fd79f support external authentication (#504) (#517) 2021-12-22 19:13:56 +01:00
aler9
811540b34b tidy up rtmp 2021-12-22 17:37:15 +01:00
aler9
1dff3239d2 remove rtmp.Conn.NetConn() 2021-12-22 17:33:37 +01:00
aler9
779d5b61cd update docs 2021-12-22 00:27:58 +01:00
aler9
7352244fd9 print closing message before an object is closed 2021-12-22 00:15:15 +01:00
aler9
fa5da67465 update golangci-lint 2021-12-21 23:26:27 +01:00
aler9
1617d07ba3 do not wait for external commands to exit during runtime
wait for them during shutdown.
2021-12-21 12:43:45 +01:00
aler9
d9e8f3ff9f change log message in case configuration file is missing 2021-12-21 12:29:50 +01:00
aler9
e3ecd4a11c hls: upgrade hls.js and enable progressive mode 2021-12-15 12:42:00 +01:00
aler9
a67e8b13b1 remove tune=zerolatency from gstreamer recommended settings 2021-12-15 11:14:34 +01:00
aler9
398c5af969 change recommended gstreamer pipeline 2021-12-14 22:31:36 +01:00
aler9
eda8eddf5a hls: cleanup 2021-12-14 22:30:15 +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
e22b42d3e9 capitalize comments in the configuration file 2021-12-09 15:11:44 +01:00
aler9
84735426eb print a message when a custom command exits suddently 2021-12-08 21:23:45 +01:00
aler9
a5723c4808 fix crash 2021-12-08 21:14:03 +01:00
aler9
ebc201bda2 make regexp groups available to custom commands (#642) 2021-12-08 20:50:09 +01:00
aler9
bf8e835cab update readme 2021-12-08 18:18:38 +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
c036990d3c update readme 2021-12-06 16:27:20 +01:00
aler9
c65f4509bd update gortsplib 2021-12-05 14:36:57 +01:00
aler9
42939b9c18 update readme 2021-12-05 11:05:50 +01:00
aler9
a1fed6fb38 rtsp source: set ServerName when using TLS (#708) 2021-12-03 23:33:28 +01:00
aler9
0d8f14388e update make format 2021-12-03 12:29:31 +01:00
Tristan Matthews
4fcfd95619 rtsp_session: log error if config parsing fails 2021-12-01 10:06:47 +01:00