Alessandro Ros
24cc62e344
hls: decrease number of idle connections kept open after a reconnection ( #3128 )
1 year ago
Alessandro Ros
c7bdcea741
move RTSP tests into internal/servers/rtsp ( #3049 )
1 year ago
Alessandro Ros
9e5de737f0
move SRT tests into internal/servers/srt ( #3037 )
1 year ago
Alessandro Ros
ad58efe47d
move RTMP tests into internal/servers/rtmp ( #3035 )
1 year ago
Spencer Lowe
e5e029a7f4
srt: add additional metrics ( #2962 )
...
* first attempt at the srt metrics
* Updated variables to better match mediamtx
* Prometheus metrics for SRT
* Update readme for SRT metrics
* Switch openapi to number from float
* SRT metrics metrics response fix
* Make the metric test less strict, and nolint line length on the SRT metrics struct
* remove nolint
* move BytesSent and BytesReceived into APISRTConnMetrics
* merge APISRTConn and APISRTConnMetrics
* improve tests
---------
Co-authored-by: slowe <slowe@clairglobal.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
1 year ago
Alessandro Ros
1ae3240b91
hls: fix crash when muxer is being recreated, improve performance ( #3017 )
1 year ago
Alessandro Ros
b6eaa6bc18
move test utilities into 'test' ( #3016 )
...
* move test utilities into 'test'
* rename newEmptyTimer into emptyTimer
1 year ago
Alessandro Ros
0332ba59a0
api: add endpoints for recording management ( #2901 ) ( #2988 )
2 years ago
Alessandro Ros
7b9617f2e7
api: return 404 when an entity is not found ( #2582 ) ( #2920 )
2 years ago
Alessandro Ros
598fadc9fb
api: add 'query' field to RTMP, RTSP, SRT and WebRTC clients ( #2689 ) ( #2844 )
2 years ago
Alessandro Ros
1341421412
move api, metrics and pprof into dedicated packages ( #2843 )
2 years ago
Dr. Ralf S. Engelschall
4bf0d10079
metrics: add paths_bytes_sent, srt_conns, srt_conns_bytes_received, srt_conns_bytes_sent ( #2620 ) ( #2619 ) ( #2629 )
...
* add missing Prometheus exports (#2620 , #2619 ):
paths_bytes_sent, srt_conns, srt_conns_bytes_received, srt_conns_bytes_sent
* protect Stream.BytesSent()
* add tests
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2 years ago
Alessandro Ros
e9528c0917
api: return empty list when page is empty ( #2604 ) ( #2614 )
2 years ago
Alessandro Ros
4b4d57f18e
api: add path name to config/paths/list and config/paths/get ( #2535 ) ( #2596 )
2 years ago
Alessandro Ros
bbb989ee87
api: return full configuration in config/paths/list and config/paths/get ( #2535 ) ( #2595 )
2 years ago
Alessandro Ros
cde19097bd
api: send error messages in response body ( #2518 ) ( #2583 )
2 years ago
Alessandro Ros
07ff79f553
api: return 500 instead of 404 in case of non-existing items ( #2582 )
...
This is needed to differentiate between calls to non-existent andpoints
and calls to valid endpoints, but with an ID pointing to a non-existing
item, and to return JSON in the latter case.
2 years ago
Alessandro Ros
99bc327d67
move protocol-related code into internal/protocols ( #2572 )
2 years ago
Alessandro Ros
28452acf56
move webrtc utilities into internal/webrtc ( #2559 )
2 years ago
Rui Lopes
9f5169ba26
webrtc: support WHIP/WHEP DELETE method ( #2507 )
2 years ago
Alessandro Ros
6c727b4472
rename 'all' path configuration into 'all_others' ( #2443 )
2 years ago
Alessandro Ros
9a01ab7fd5
allow changing default path settings; bump API in order to allow so ( #2455 )
2 years ago
Alessandro Ros
61b77a3ff9
api: return 400 in case of non-existent config fields ( #2425 )
2 years ago
Alessandro Ros
30a69a7722
fix maxReaders limit in case of multiple tracks ( #2246 ) ( #2264 )
2 years ago
Alessandro Ros
cf86dbb303
switch to gortsplib/v4 ( #2244 )
2 years ago
Alessandro Ros
659f19f8bb
enable errcheck ( #2201 )
2 years ago
Alessandro Ros
61d300396d
remove 'disable' from names of configuration parameters ( #2101 )
2 years ago
Alessandro Ros
8bb71ac8d8
srt, udp: support reading and writing MPEG-1 audio streams ( #2147 )
2 years ago
Alessandro Ros
b4e3033ea3
support publishing, reading, proxying with SRT ( #2068 )
2 years ago
Alessandro Ros
d696a782f7
rtmp: simplify API ( #2130 )
2 years ago
Alessandro Ros
ab8cf3f0cc
add rtmp.Reader, rtmp.Writer ( #2124 )
...
needed by #2068
2 years ago
Alessandro Ros
0d18076201
api: add 'readyTime' to paths ( #2049 ) ( #2082 )
2 years ago
Jordy84
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>
2 years ago
Volodymyr Borodin
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>
2 years ago
Alessandro Ros
f1b975707a
api: return 404 in /get and /kick endpoints ( #1994 ) ( #1995 )
...
when an entity is not found
2 years ago
Alessandro Ros
5033d1e145
update dependencies ( #1968 )
2 years ago
Alessandro Ros
e2a6c380b0
api: fix setting default parameters when creating a path ( #1853 ) ( #1905 )
...
this fixes a regression introduced in v0.23.0.
2 years ago
Alessandro Ros
e10055ad69
api: add item count to /list endpoints ( #1813 ) ( #1829 )
2 years ago
Alessandro Ros
330a9e027c
fix race condition in tests ( #1826 )
2 years ago
Alessandro Ros
67672ea9c6
api: fix wrong pageCount in /list endpoints ( #1813 ) ( #1824 )
2 years ago
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.
2 years ago
Alessandro Ros
586df289e2
bump API prefix from /v1 to /v2 ( #1815 )
2 years ago
Alessandro Ros
9c79197f36
api: add pagination to all /list endpoints ( #1808 )
2 years ago
Alessandro Ros
39c072edd6
change repository owner ( #1801 )
2 years ago
Alessandro Ros
a14246d776
webrtc: support publishing with WHIP and reading with WHEP ( #1800 )
2 years ago
Alessandro Ros
02e6c24c83
update dependencies ( #1698 )
2 years ago
Alessandro Ros
9571afd715
update gortsplib ( #1690 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Alessandro Ros
053f2ec282
rename repository and executable ( #1641 )
2 years ago
Alessandro Ros
2dffccf9c1
update gortsplib, gohlslib ( #1637 )
2 years ago
aler9
ad978ab732
tests: fix race condition
3 years ago