Q: Sometimes image artifacts or video freeze is observed when streaming content through UDP via MPEG-TS or RTSP.
A: Set this parameter in /etc/nimble/nimble.conf
udp_so_receive_buffer = 16777216
and restart server.
This sets SO_RCVBUF socket receive buffer to 16 MB and it should be enough to process streams especially with large bitrate.
Read more about UDP streaming in these articles:
- https://blog.wmspanel.com/2015/06/mpegts-transmux-hls-rtmp-dash-nimble-streamer.html
- https://blog.wmspanel.com/2015/07/advanced-mpegts-delivery-udp-nimble-streamer.html
- https://blog.wmspanel.com/2019/07/udp-constant-bitrate-mux-rate.html