1
0
Fork 0
forked from External/mediamtx

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>
This commit is contained in:
rmcnew 2023-09-23 04:55:45 -06:00 committed by GitHub
parent cadc6b3ea7
commit 75f518a827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 189 additions and 85 deletions

View file

@ -239,6 +239,10 @@ components:
type: boolean
fallback:
type: string
srtPublishPassphrase:
type: string
srtReadPassphrase:
type: string
# RTSP
sourceProtocol: