NGINGX RTMP reconnect

Nachesko

New Member
Hello everybody, I´m having troubles with an nginx rtmp server that I´m trying. The idea is to receive external streams to OBS, it has to be RTMP. I´ve tried the server in a docker container and a clean raspberry pi without gui, both gives me the same problem.
I can see the stream in VLC the first 1 or 2 times without problem, but after cutting and restarting the images froze and the audio start playing. In OBS with VLC source is the same

All tries over internal LAN, cable, 100 Mbps, first server docker core 2 duo with 2 gig of ram, second over raspberry 2B+.

I need the receiving obs to start playing the RTMP every times it recieve one. Maybe some config in the nginx server to "reset" after one stream has ended and wait for another?

If i reload the source in obs it plays ok, but I need to be automatic, I've also tried advanced scene switcher but if the source is in the preview window doesn't recognize the audio (Audio works ok, image froze). I've attached the VLC verbose 2 log
 

Attachments

  • Captura.PNG
    Captura.PNG
    49.4 KB · Views: 65
Top