mediamtx/internal/conf
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>
2023-09-23 12:55:45 +02:00
..
decrypt allow setting rpiCameraSaturation to 0 (#1651) (#1772) 2023-05-06 23:00:42 +02:00
env enable errcheck (#2201) 2023-08-13 16:38:23 +02:00
yaml unify authentication mechanisms (#1775) 2023-05-08 17:04:14 +02:00
auth_method.go switch to gortsplib/v4 (#2244) 2023-08-26 18:54:28 +02:00
conf.go fix default value of some settings (#2367) 2023-09-19 11:49:11 +02:00
conf_test.go Support SRT encryption passphrases on configured paths (#2385) 2023-09-23 12:55:45 +02:00
credential.go allow setting rpiCameraSaturation to 0 (#1651) (#1772) 2023-05-06 23:00:42 +02:00
encryption.go allow setting rpiCameraSaturation to 0 (#1651) (#1772) 2023-05-06 23:00:42 +02:00
hls_variant.go webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
ips_or_cidrs.go move HTTP utilities in a dedicated package (#2123) 2023-07-30 23:03:00 +02:00
log_destination.go webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
log_level.go webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
path.go Support SRT encryption passphrases on configured paths (#2385) 2023-09-23 12:55:45 +02:00
protocol.go switch to gortsplib/v4 (#2244) 2023-08-26 18:54:28 +02:00
rtsp_range_type.go normalize configuration (#2399) 2023-09-23 12:48:34 +02:00
source_protocol.go switch to gortsplib/v4 (#2244) 2023-08-26 18:54:28 +02:00
string_duration.go webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
string_size.go webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
webrtc_ice_server.go webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00