Commit Graph

38 Commits

Author SHA1 Message Date
Alessandro Ros
cf86dbb303 switch to gortsplib/v4 (#2244) 2023-08-26 18:54:28 +02:00
Alessandro Ros
659f19f8bb enable errcheck (#2201)
Some checks reported warnings
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled
2023-08-13 16:38:23 +02:00
Alessandro Ros
efcc4c4e65 fix crash in case of specially-crafted HTTP requests (#2166) (#2169) 2023-08-07 17:16:33 +02:00
Alessandro Ros
dd91abae9b api: add transport to RTSP sessions (#2151) 2023-08-05 17:10:48 +02:00
Alessandro Ros
119d6abf19 move HTTP utilities in a dedicated package (#2123)
needed by #2068
2023-07-30 23:03:00 +02:00
Alessandro Ros
b93eed64bc api: add /get endpoints (#1577) (#1823)
this allows to get entities by ID or name after /list endpoints were
changed in v0.23.0.
2023-05-18 15:07:47 +02:00
Alessandro Ros
adf94092a8 add base class to all HTTP servers (#1809) 2023-05-16 20:12:45 +02:00
Alessandro Ros
9c79197f36 api: add pagination to all /list endpoints (#1808) 2023-05-16 19:48:13 +02:00
Alessandro Ros
39c072edd6 change repository owner (#1801) 2023-05-16 16:14:20 +02:00
Alessandro Ros
a14246d776 webrtc: support publishing with WHIP and reading with WHEP (#1800) 2023-05-16 15:59:37 +02:00
Thomas Anderson
9ac2a05d58 fix: metrics listener address sanitization (#1774)
In commit 3475762 from PR #1678 the restrictNetwork function was called
twice for the metrics listening address only, which leads to 0.0.0.0
listeners not working properly for the metrics server.
2023-05-08 10:27:43 +02:00
Alessandro Ros
225220ddd5 print warning in case no key frames are being received (#1763) 2023-05-04 20:16:41 +02:00
Alessandro Ros
79872cabd6 metrics: return metrics even if there are no paths or clients (#1688) 2023-04-11 20:47:29 +02:00
Alessandro Ros
88953f36a6 add read deadline to all incoming HTTP requests (#1689) 2023-04-11 20:47:19 +02:00
Alessandro Ros
2a5e6e2651 metrics: log HTTP requests when logLevel is debug (#1687) 2023-04-11 20:42:40 +02:00
Alessandro Ros
34757620b8 do not listen on IPv6 when host is 0.0.0.0 (#1665) (#1678)
Some checks failed
apidocs
code
mod-tidy
test32
test64
test_highlevel
2023-04-10 22:48:33 +02:00
Alessandro Ros
053f2ec282 rename repository and executable (#1641) 2023-04-01 19:52:06 +02:00
aler9
f3f55452e5 webrtc muxer: fix multiple race conditions 2023-01-08 13:36:55 +01:00
Alessandro Ros
5efe97abf1 Support reading with WebRTC (#1242) 2022-12-16 00:50:47 +01:00
Alessandro Ros
8bee4af86a api, metrics: add number of bytes received and sent from/to all entities (#1235)
* API: number of bytes received/sent from/to RTSP connections
* API: number of bytes received/sent from/to RTSP sessions
* API: number of bytes received/sent from/to RTMP connections
* API: number of bytes sent to HLS connections
* API: number of bytes received from paths
* metrics of all the above
2022-11-11 11:59:52 +01:00
Alessandro Ros
4ac175d3cc api, metrics: add endpoints and metrics for RTSP connections (#1233)
new API endpoints:

* /v1/rtspconns/list
* /v1/rtspsconns/list

new metrics:

* rtsp_conns
* rtsps_conns
2022-11-09 18:31:31 +01:00
aler9
a8d1f91646 fix tests that involve HTTP clients 2022-08-31 08:53:19 +02:00
aler9
f25e14183d api, hls, metrics, pprof: always close HTTP listeners
due to a race condition, HTTP listeners could remain open even after
the closure of a component.
2022-08-30 18:43:41 +02:00
aler9
055e08ac6c remove "on" prefix from most communication functions between components 2022-08-04 21:07:45 +02:00
aler9
e45820b2c0 hls server: show real client IPs when behind a proxy (#955) 2022-06-21 13:54:19 +02:00
aler9
8ac665be87 un-capitalize private fields 2022-01-14 23:42:41 +01:00
aler9
7352244fd9 print closing message before an object is closed 2021-12-22 00:15:15 +01:00
aler9
02291f552a align listener opened / closed messages 2021-11-15 20:13:54 +01:00
aler9
21a149c0de rename struct 2021-11-06 12:52:12 +01:00
aler9
322ea55534 split API definitions between their corresponding structs 2021-11-05 17:53:24 +01:00
aler9
afabd331d9 metrics: add hls_muxers metric 2021-11-05 17:29:13 +01:00
aler9
79e73c5cb4 api: add /v1/hlsmuxers/list endpoint 2021-11-05 17:15:46 +01:00
aler9
aa01eaf12b cleanup 2021-11-03 16:37:08 +01:00
Konstantin Salnikov
a83f57bc3e implement per-path metrics 2021-10-28 19:38:54 +02:00
aler9
ab70f946b0 unexport members of private structs 2021-10-27 21:01:00 +02:00
aler9
226e26e05f metrics: use gin router 2021-10-27 12:14:23 +02:00
aler9
f1a812ba5d rewrite metrics system to provide more data (#492) 2021-08-12 11:49:21 +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