[FFmpeg-devel] [PATCH] avformat/udp: Add a delay between packets for streaming to clients with short buffer

Pavel Nikiforov nikiforov.pavel at gmail.com
Mon Feb 29 20:40:02 CET 2016


Hello !

This patch enables background sending of UDP packets with specified delay.
When sending packets without a delay some devices with small RX buffer
( MAG200 STB, for example) will drop tail packets in burst causing
decoding errors.

It needs to specify "fifo_size" with "packet_gap" .

The output url will looks like udp://xxx:yyy?fifo_size=<output fifo
size>&packet_gap=<delay in usecs>

Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udp.patch
Type: application/octet-stream
Size: 7506 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160229/6f3714b5/attachment.obj>


More information about the ffmpeg-devel mailing list