Commit Graph

37 Commits

Author SHA1 Message Date
Alessandro Ros
02e6c24c83
update dependencies (#1698) 2023-04-13 18:15:13 +02:00
Alessandro Ros
9571afd715
update gortsplib (#1690)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 20:59:31 +02:00
Alessandro Ros
053f2ec282
rename repository and executable (#1641) 2023-04-01 19:52:06 +02:00
Alessandro Ros
2dffccf9c1
update gortsplib, gohlslib (#1637) 2023-04-01 18:39:12 +02:00
aler9
ad978ab732 tests: fix race condition 2023-02-12 18:54:06 +01:00
aler9
e7e8d5ce20 api: add more attributes to WebRTC connections
new attributes: peerConnectionEstablished, localCandidate, remoteCandidate
2023-01-07 13:48:03 +01:00
aler9
ec8175e434 fix tests 2022-12-29 16:36:24 +01:00
aler9
fbf8e82db5 update gortsplib 2022-12-28 20:32:03 +01:00
Alessandro Ros
c778c049ce
switch to gortsplib v2 (#1301)
Fixes #1103

gortsplib/v2 supports multiple formats inside a single track (media). This allows to apply the resizing algorithm to single formats inside medias.

For instance, if a media contains a a proprietary format and an H264 format, and the latter has oversized packets, they can now be resized.
2022-12-13 20:54:17 +01:00
aler9
7ed0a873f5 use Track.String() instead of reflect for getting track names 2022-11-28 11:16:31 +01:00
aler9
282d155a4f update gortsplib 2022-11-15 23:47:12 +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
Alessandro Ros
bf14467331
move high-level tests into dedicate workflow (#1219) 2022-11-02 18:25:49 +01:00
aler9
a8d1f91646 fix tests that involve HTTP clients 2022-08-31 08:53:19 +02:00
aler9
afcb874657 add missing tests 2022-08-23 13:47:48 +02:00
aler9
960cfb9f99 api: always encode timestamps wth RFC3339 (#1093)
this fixes "lastRequest" in /v1/hlsmuxers/list that was encoded in a
wrong format
2022-08-23 13:24:27 +02:00
aler9
101ea25448 api: add published track list to /v1/paths/list 2022-08-15 16:56:09 +02:00
aler9
7067c02030 api: return static sources in paths/list even if sourceOnDemand is true 2022-08-04 20:28:38 +02:00
aler9
ec4c40b222 update gortsplib 2022-06-23 13:54:48 +02:00
aler9
1e07636f86 change default RTSPS port (#867) 2022-04-16 16:24:40 +02:00
aler9
2bfdcc7d89 update gortsplib 2022-01-30 17:43:03 +01:00
aler9
a1fed6fb38 rtsp source: set ServerName when using TLS (#708) 2021-12-03 23:33:28 +01:00
aler9
f7419586af update gortsplib 2021-11-12 22:29:56 +01:00
aler9
08fa61e56d do not add an 'all' path automatically if not present in the configuration file 2021-11-06 12:51:38 +01:00
aler9
79e73c5cb4 api: add /v1/hlsmuxers/list endpoint 2021-11-05 17:15:46 +01:00
aler9
b70a4bfe5b fix regression that prevented setting config slices with env variables (#612) 2021-10-04 08:58:23 +02:00
aler9
ca9645c2f9 api: decode durations from strings instead of numbers
This allows to use human-readable durations with the API,
for instance: "5s" instead of 5000000000
2021-09-26 23:21:37 +02:00
aler9
e2f33a7495 api: support working with path configs that contains slashes (#581) 2021-09-23 09:07:36 +02:00
aler9
9398cea0c2 update golangci-lint 2021-09-09 23:05:54 +02:00
aler9
b65207012c update gortsplib 2021-08-25 19:51:59 +02:00
aler9
6e5564c0a2 api: return rtspsSessions in case of RTSPS sessions 2021-08-20 10:32:43 +02:00
aler9
da7f9c7ee1 api: add RTSPS endpoints to list and kick RTSPS sessions 2021-08-11 17:33:43 +02:00
aler9
20ac25571c api: add "state" field to RTSP sessions and RTMP connections 2021-08-11 12:25:19 +02:00
aler9
10b5a6b4dd api: add v1 prefix 2021-08-07 19:20:39 +02:00
aler9
3134b95e80 api: add documentation 2021-08-07 19:20:39 +02:00
aler9
0535ab8e9c api: add tests 2021-08-07 19:20:39 +02:00