Alessandro Ros
c7dbb951f3
update golangci-lint ( #3149 )
1 year ago
Alessandro Ros
24cc62e344
hls: decrease number of idle connections kept open after a reconnection ( #3128 )
1 year ago
Alessandro Ros
9c6ba7e2c7
New authentication system ( #1341 ) ( #1992 ) ( #2205 ) ( #3081 )
...
This is a new authentication system that covers all the features exposed by the server, including playback, API, metrics and PPROF, improves internal authentication by adding permissions, improves HTTP-based authentication by adding the ability to exclude certain actions from being authenticated, adds an additional method (JWT-based authentication).
1 year ago
Alessandro Ros
b6db3121b5
rtsp: add random value to timestamp of tracks from other protocols ( #3071 )
1 year ago
Alessandro Ros
c7bdcea741
move RTSP tests into internal/servers/rtsp ( #3049 )
1 year ago
Alessandro Ros
34dbcfb508
move WebRTC tests into internal/servers/webrtc ( #3043 )
1 year ago
Alessandro Ros
a52f550ee6
webrtc: return an error when proxying stream with no tracks ( #3042 )
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
0f733bab26
add rpiCameraAWBGains ( #2858 ) ( #2954 )
2 years ago
Alessandro Ros
6f6f8e0994
prevent multiple crashes when reloading the configuration ( #2945 )
2 years ago
Alessandro Ros
57c2d5aecb
add playback server ( #2452 ) ( #2906 )
...
* add playback server
* add playback switch
* update readme
2 years ago
Alessandro Ros
7b9617f2e7
api: return 404 when an entity is not found ( #2582 ) ( #2920 )
2 years ago
Alessandro Ros
514036d41a
treat different RTSP formats as different tracks in logs and API ( #2907 )
2 years ago
Sijmen
397c58a882
Add Argon2 credential hash support ( #2888 )
...
* Add argon2 credential hash support
* update README, tests and documentation
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2 years ago
dependabot[bot]
120791b415
build(deps): bump github.com/bluenviron/mediacommon from 1.7.0 to 1.7.1 ( #2897 )
...
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon ) from 1.7.0 to 1.7.1.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Alessandro Ros
7437ee7a09
update golangci-lint ( #2868 )
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
Alessandro Ros
0c131a2e92
rpi: pass log level to libcamera ( #2617 ) ( #2811 )
2 years ago
Alessandro Ros
d261bfe773
support static sources in paths with regular expressions ( #824 ) ( #2799 )
...
This allows to proxy requests to other servers by using regular
expressions.
2 years ago
Alessandro Ros
15e6c199b4
always use 'all_others' or 'all' after every other path configuration ( #2798 )
2 years ago
Alessandro Ros
11988249df
move servers into internal/servers ( #2792 )
2 years ago
github-actions[bot]
3891e7eb26
bump hls-js to v1.4.13 ( #2791 )
...
Co-authored-by: mediamtx-bot <bot@mediamtx>
2 years ago
Alessandro Ros
b8dd7b9e52
add RTMPS metrics ( #2783 )
2 years ago
Alessandro Ros
ed72fa7db1
fix crash when requesting metrics and RTMP, SRT or WebRTC servers are not present anymore ( #2782 )
2 years ago
Alessandro Ros
20123fd5b9
record: rename segmentPath into path ( #2777 )
2 years ago
Alessandro Ros
7c8e593b0b
record: normalize decoding and encoding of segment paths ( #2775 )
2 years ago
Alessandro Ros
aade2eedb9
hls, webrtc: prevent XSS attack when appending slash to paths ( #2766 ) ( #2767 ) ( #2772 )
2 years ago
Alessandro Ros
4ccb245feb
webrtc: fix propagating query parameters when appending slash to paths ( #2771 )
2 years ago
Alessandro Ros
50e7b038c4
hls: fix appending slash when behind a reverse proxy ( #2770 )
2 years ago
Alessandro Ros
0e5e3324a7
rpicamera: allow to change bitrate and IDR period dynamically ( #2703 ) ( #2764 )
2 years ago
Alessandro Ros
ce45498769
move hooks into dedicated package ( #2746 )
2 years ago
Alessandro Ros
c3d9be322d
allow using 'fallback' with static sources ( #2606 ) ( #2706 )
2 years ago
Bohdan Cherniakh
4fa6c16c85
Add query as optional block for SRT publish and read ( #2656 )
2 years ago
Alessandro Ros
a760a98bcc
webrtc: fix crash when reading from path 'publish' ( #2688 ) ( #2692 )
2 years ago
Alessandro Ros
7a1e155531
update dependencies ( #2687 )
2 years ago
Alessandro Ros
687d8685ef
webrtc: improve connectivity mechanism ( #2686 )
2 years ago
Alessandro Ros
83a3086de7
webrtc: prevent pion/webrtc from writing log lines ( #2681 )
2 years ago
Alessandro Ros
ef19552632
fix setting 'recordDeleteAfter' to zero ( #2670 ) ( #2671 )
2 years ago
Alessandro Ros
cb04d28f6e
metrics: expose state of WebRTC sessions ( #2662 )
2 years ago
Alessandro Ros
f82c6e3654
tests: fix race condition in TestPathRunOnDemand ( #2663 )
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
813611057d
add runOnUnDemand hook ( #2645 )
2 years ago
Alessandro Ros
faf7218fda
webrtc: restore compatibility when running behind a proxy, in a subpath ( #2638 )
2 years ago
Alessandro Ros
4f876ed207
fix crash when publishing to a path with 'runOnDemand' from outside 'runOnDemand' ( #2636 ) ( #2637 )
2 years ago