Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
11.64k
stars
1.47k
forks
source link
Feature request: run a command before connecting #3684
Describe the feature
I have an IP camera that is sometimes intentionally offline, but MediaMTX doesn't know this and floods the log with useless error messages:
To prevent this, I can make a script that waits until the camera is online:
And it would be nice if MediaMTX could run such a script and wait for it to complete before connecting, something like: