Fix MediaMTX v1.21 config field names (runOnAvailable/runOnUnavailable)

This commit is contained in:
Ian Keane 2026-09-14 13:39:20 -04:00
parent a0b28b7a01
commit 25840119fd

View file

@ -56,11 +56,11 @@ data:
pathDefaults:
source: publisher
runOnReady: >
runOnAvailable: >
wget -q -O- --post-data "path=$MTX_PATH&source_type=$MTX_SOURCE_TYPE"
"http://localhost:5000/hooks/ready?token=$HOOK_TOKEN"
runOnReadyRestart: false
runOnNotReady: >
runOnAvailableRestart: false
runOnUnavailable: >
wget -q -O- --post-data "path=$MTX_PATH"
"http://localhost:5000/hooks/not-ready?token=$HOOK_TOKEN"
runOnNotReadyRestart: false