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).
* 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>
* 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>