Commit Graph
54 Commits
Author SHA1 Message Date
Alessandro RosandGitHub b4e3033ea3 support publishing, reading, proxying with SRT (#2068) 2023-07-31 21:20:09 +02:00
Alessandro RosandGitHub d696a782f7 rtmp: simplify API (#2130) 2023-07-31 19:41:59 +02:00
Alessandro RosandGitHub ab8cf3f0cc add rtmp.Reader, rtmp.Writer (#2124)
needed by #2068
2023-07-30 23:15:22 +02:00
Alessandro RosandGitHub 0d18076201 api: add 'readyTime' to paths (#2049) (#2082) 2023-07-19 14:06:13 +02:00
1103e935c4 api: fix error in case of nested paths (#2040)
* Fixed API paths/get with nested paths

* Lint error

* Same fix for /v2/hlsmuxers/get

---------

Co-authored-by: Jordy Boezaard <jordy@boezaard.com>
2023-07-10 19:53:25 +02:00
47317ea8e5 api: add path to RTMP connections, RTSP sessions, WebRTC sessions (#1962) (#2022)
* api: add path to rtmp response

* add 'path' to RTSP and WebRTC sessions too

* add tests

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-07-05 21:20:26 +02:00
Alessandro RosandGitHub f1b975707a api: return 404 in /get and /kick endpoints (#1994) (#1995)
when an entity is not found
2023-06-27 23:55:31 +02:00
Alessandro RosandGitHub 5033d1e145 update dependencies (#1968) 2023-06-21 16:20:21 +02:00
Alessandro RosandGitHub e2a6c380b0 api: fix setting default parameters when creating a path (#1853) (#1905)
this fixes a regression introduced in v0.23.0.
2023-06-02 18:43:04 +02:00
Alessandro RosandGitHub e10055ad69 api: add item count to /list endpoints (#1813) (#1829) 2023-05-18 20:05:59 +02:00
Alessandro RosandGitHub 330a9e027c fix race condition in tests (#1826) 2023-05-18 19:16:07 +02:00
Alessandro RosandGitHub 67672ea9c6 api: fix wrong pageCount in /list endpoints (#1813) (#1824) 2023-05-18 18:59:51 +02:00
Alessandro RosandGitHub 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 RosandGitHub 586df289e2 bump API prefix from /v1 to /v2 (#1815) 2023-05-17 15:44:30 +02:00
Alessandro RosandGitHub 9c79197f36 api: add pagination to all /list endpoints (#1808) 2023-05-16 19:48:13 +02:00
Alessandro RosandGitHub 39c072edd6 change repository owner (#1801) 2023-05-16 16:14:20 +02:00
Alessandro RosandGitHub a14246d776 webrtc: support publishing with WHIP and reading with WHEP (#1800) 2023-05-16 15:59:37 +02:00
Alessandro RosandGitHub 02e6c24c83 update dependencies (#1698) 2023-04-13 18:15:13 +02:00
Alessandro RosGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 RosandGitHub 053f2ec282 rename repository and executable (#1641) 2023-04-01 19:52:06 +02:00
Alessandro RosandGitHub 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 RosandGitHub 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 RosandGitHub 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 RosandGitHub 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 RosandGitHub 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