nginx-rtmp-backup icon indicating copy to clipboard operation
nginx-rtmp-backup copied to clipboard

Input stream ok, but nothing happen on apps main & backup

Open AlexFatta opened this issue 3 years ago • 1 comments

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

AlexFatta avatar May 24 '21 20:05 AlexFatta

Same issue :(

Cr4zyFl1x avatar Oct 11 '21 19:10 Cr4zyFl1x