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
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
0332ba59a0
api: add endpoints for recording management ( #2901 ) ( #2988 )
1 year ago
Alessandro Ros
5e27304935
apidocs: group operations by using tags ( #2987 )
1 year ago
Alessandro Ros
0f733bab26
add rpiCameraAWBGains ( #2858 ) ( #2954 )
1 year ago
Alessandro Ros
57c2d5aecb
add playback server ( #2452 ) ( #2906 )
...
* add playback server
* add playback switch
* update readme
1 year ago
Alessandro Ros
7b9617f2e7
api: return 404 when an entity is not found ( #2582 ) ( #2920 )
1 year ago
Alessandro Ros
598fadc9fb
api: add 'query' field to RTMP, RTSP, SRT and WebRTC clients ( #2689 ) ( #2844 )
1 year ago
Alessandro Ros
c3d9be322d
allow using 'fallback' with static sources ( #2606 ) ( #2706 )
2 years ago
Alessandro Ros
3277765851
apidocs: add missing recording settings to PathConf ( #2705 )
2 years ago
Alessandro Ros
687d8685ef
webrtc: improve connectivity mechanism ( #2686 )
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
1d1d64cb89
rename sourceProtocol into rtspTransport, sourceAnyPortEnable into rtspAnyPort ( #2644 )
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
4ec12a6c8b
add runOnRecordSegmentCreate hook ( #2451 ) ( #2503 )
2 years ago
Alessandro Ros
9a01ab7fd5
allow changing default path settings; bump API in order to allow so ( #2455 )
2 years ago
PieterFabry
3c4039b81f
Supports webrtc interface filtering on server ( #2460 )
...
* Supports webrtc interface filtering on server
* test(#2707 ): Fixed testing for build
* lint(#2707 ): Fixed lint issues for build
* normalize setting name
* move instructions in the configuration file
---------
Co-authored-by: Pieter Fabry <pieterfabry@observe.tech>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2 years ago
Alessandro Ros
4ba2dc1b34
apidocs: remove invalid value from PathSourceOrReader ( #2450 )
2 years ago
Alessandro Ros
eb975027b2
add runOnRecordSegmentComplete and rclone integration ( #2404 ) ( #2428 )
2 years ago
Alessandro Ros
2d929e1132
move 'srtReadPassphrase' into the right section ( #2435 )
2 years ago
rmcnew
75f518a827
Support SRT encryption passphrases on configured paths ( #2385 )
...
* Support SRT encryption passphrases on configured paths
* Fix namespace; make passphrase use more clear
* Updates from Alessandro's feedback and lint output
* Fix lint findings
* Update lint.yml
* Update lint.yml
* Fix lint findings
* Add SRT passphrase tests for conf/path
* Reformat test to pass lint
* More changes to pass lint
* More changes to pass lint
* Use safeConf to prevent race conditions
* update API docs
* split configuration checks from connection checks
* add tests
* rename publishSRTPassphrase into srtPublishPassphrase, readSRTPassphrase into srtReadPassphrase
* remove redundant alias
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2 years ago
Alessandro Ros
cadc6b3ea7
rename 'external commands' into 'hooks' ( #2400 )
2 years ago
Alessandro Ros
64d9060560
add additional environment variables to custom commands ( #1414 ) ( #2356 )
...
new variables: MTX_CONN_TYPE, MTX_CONN_ID, MTX_SOURCE_TYPE, MTX_SOURCE_ID, MTX_READER_TYPE, MTX_READ_ID
2 years ago
Alessandro Ros
ed77560811
add runOnDisconnect, runOnNotReady, runOnUnread ( #1464 ) ( #2355 )
2 years ago
Alessandro Ros
73ddb21e63
implement native recording ( #1399 ) ( #2255 )
...
* implement native recording (#1399 )
* support saving VP9 tracks
* support saving MPEG-1 audio tracks
* switch segment when codec parameters change
* allow to disable recording on a path basis
* allow disabling recording cleaner
* support recording MPEG-1/2/4 video tracks
* add microseconds to file names
* add tests
2 years ago
Alessandro Ros
f786f64690
apidocs: mark discrete parameters as integers ( #2331 ) ( #2354 )
2 years ago
Alessandro Ros
5fb7f4e846
force all readers to use an asynchronous writer ( #2265 )
...
needed by #2255
2 years ago
Alessandro Ros
bf8e69ea89
rename readBufferCount into writeQueueSize ( #2248 )
2 years ago
Alessandro Ros
61d300396d
remove 'disable' from names of configuration parameters ( #2101 )
2 years ago
Alessandro Ros
d6058ae469
rename disablePublisherOverride into overridePublisher ( #2164 )
2 years ago
Alessandro Ros
7d7cedc509
apidocs: remove sourceReady from docs ( #2163 )
2 years ago
Alessandro Ros
d00b22b5e5
support setting a maximum number of readers per path ( #1286 ) ( #2154 )
2 years ago
Alessandro Ros
dd91abae9b
api: add transport to RTSP sessions ( #2151 )
2 years ago
Alessandro Ros
bc3084ae7b
support proxying WebRTC streams ( #2142 )
2 years ago
Alessandro Ros
b4e3033ea3
support publishing, reading, proxying with SRT ( #2068 )
2 years ago
Alessandro Ros
6d342082c2
rpi camera: add rpiCameraHDR parameter ( #1876 ) ( #2083 )
2 years ago
Alessandro Ros
0d18076201
api: add 'readyTime' to paths ( #2049 ) ( #2082 )
2 years ago
Alessandro Ros
f7a30e7b38
api: return 404 when a path configuration is not found ( #2067 ) ( #2074 )
...
this involves /v2/config/paths/edit and /v2/config/paths/remove
2 years ago
Alessandro Ros
69fd7a6077
apidocs: fix source/reader types ( #2027 )
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
1a748bb971
webrtc: allow using special characters in ICE server credentials ( #1953 ) ( #2000 )
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
f162ce1f07
update documentation ( #1900 )
2 years ago
Alessandro Ros
af324c9e91
rpi camera: allow using decimal FPS ( #1743 ) ( #1873 )
2 years ago
Alessandro Ros
cefa16849e
apidocs: fix method of /get endpoints ( #1835 )
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