nginx-rtmp-backup
nginx-rtmp-backup copied to clipboard
Input stream ok, but nothing happen on apps main & backup
Hello !
The last commit is quite old, but I'll try anyway. The problem is simple: it doesn't work. I think the problem comes from ffmpeg. When I try to get a stream by hand with ffmpeg, I get an input/output error. But nothing is logged, so there is no way to know where the problem could be coming from.
The other case I've noticed is that the exec_publish /usr/local/share/nginx-rtmp-backup/main_publish.sh $name;
line is never reached. Tried putting a test script with an echo in a file instead, but nothing happens. We therefore deduce that the line is not reached or processed by nginx. We notice the same problem when stopping a stream, nothing happens on the exec_publish_done line.
We have tested the solution in container and natively on a VM. OBS sends the stream, but nothing happens on the nginx side. If we stream on rtmp://localhost/out, the stream comes out correctly and is visible. But the main and backup applications don't work.
Does anyone have any help to solve the problem? It would be a pity to have to do without a solution like this one which answers what we are looking for.
Thank you!
Alex
Same issue :(