[Libav-user] Problema with RTP stream (h264)
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Oct 17 14:52:22 CEST 2013
Camera Man <i.like.privacy.too at ...> writes:
> Unfortunately, the udp layer will set it's SO_RCVBUF kernel buffer to at
> most 64K, (which e.g. Linux will translate to a 128K buffer). That
> practically guarantees that any single frame larger than 128K (e.g., an
> average I-frame in an 1280x720 stream) will not fit within the kernel
> socket buffers, resulting in at least one packet (and part of the frame)
> dropped, thus the corruption you see.
Thank you for this analysis!
Is this documented anywhere else (afayk)?
> The udp layer does have a "buffer_size" parameter, but there's no way
> that I'm aware of to pass it to the udp layer through the rtsp layer.
Do you know of a public stream that I could use to test if
I wanted to fix this?
More information about the Libav-user