Closed napat1412 closed 1 year ago
Hello, thanks for reporting the issue, i can confirm that runOnDemandRestart: yes
doesn't work and i developed a fix. Please test this nightly release and let me know if the fix works:
[link removed]
added in v0.23.6
This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.
Which version are you using?
v0.23.3
Which operating system are you using?
Describe the issue
I need rtsp proxy: runOnDemand which use ffmpeg. But my cctv network is poor connection. ffmpeg often terminate. I use kill -9 cmd for simulation the termination of ffmpeg.
My mediamtx.yml:
I think 'runOnDemandRestart: yes' will respawn ffmpeg proccess to restream video. But it is not respawn ffmpeg process. What is my mistake? or Is there other way to do something like that?
Describe how to replicate the issue
Did you attach the server logs?
yes The logs is copied after i run kill -9 [pid-ffmpeg]
Did you attach a network dump?
no