Question / Help RTMP send errors

peter_daniel

New Member
Hello,

I am streaming to a nginx RTMP server which I installed and configured. Everything works great for a day or two and then the stream stops and I see send errors in the OBS log:

14:46:36.249: WriteN, RTMP send error 10054 (1715 bytes)
14:46:36.249: WriteN, RTMP send error 10054 (39 bytes)
14:46:36.249: WriteN, RTMP send error 10038 (42 bytes)

Does anyone know what would cause this exactly? After the error OBS appears to be streaming (the button still says 'Stop Streaming') but the bitrate shows 0.

More details:
https://gist.github.com/644856b8f0ef7014ff676fba972a3f8a

Thanks,
Peter.
 
In case anyone is interested this was solved by tweaking the nginx RTMP settings.

The settings which helped are
ping 1m;
ping_timeout 10s;
drop_idle_publisher 10s;

Now all working perfectly and streaming 24/7.
 
Hello,

I am streaming to a nginx RTMP server which I installed and configured. Everything works great for a day or two and then the stream stops and I see send errors in the OBS log:

14:46:36.249: WriteN, RTMP send error 10054 (1715 bytes)
14:46:36.249: WriteN, RTMP send error 10054 (39 bytes)
14:46:36.249: WriteN, RTMP send error 10038 (42 bytes)

Does anyone know what would cause this exactly? After the error OBS appears to be streaming (the button still says 'Stop Streaming') but the bitrate shows 0.

More details:
https://gist.github.com/644856b8f0ef7014ff676fba972a3f8a

Thanks,
Peter.

Hey, sorry for bumping this but i also get the "RTMP send error 10054" and im streaming from a pc connected to my gaming rig via NDI (i am not using nginx like OP). it also shows the exact problem, that i get an error sound, the button still says stop streaming and bitrate is at 0. any ideas what might be the cause and how i fix it? Thank you!
 
In case anyone is interested this was solved by tweaking the nginx RTMP settings.

The settings which helped are
ping 1m;
ping_timeout 10s;
drop_idle_publisher 10s;

Now all working perfectly and streaming 24/7.

I believe I am having a similar issue and would like to try this as a resolution. Can you please explain how I tweak the RTMP server settings?
 
I believe I am having a similar issue and would like to try this as a resolution. Can you please explain how I tweak the RTMP server settings?

Open your nginx.conf file and edit the settings of course. Add the parameters under your live application you have, should have, added to the nginx conf file.
 
Back
Top