diff options
author | Pavel Nikiforov <nikiforov.pavel@gmail.com> | 2016-03-08 23:27:45 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-25 01:39:22 +0200 |
commit | 413c842a697866b62ea5dbb5e5fa54ae990d503e (patch) | |
tree | 038b49228777bd97151b269c238abe6db37ed8cc /tools/zmqsend.c | |
parent | 49640ae315abf2f38df368763fd753383a1381e4 (diff) | |
download | ffmpeg-413c842a697866b62ea5dbb5e5fa54ae990d503e.tar.gz |
avformat/udp: Add a delay between packets for streaming to clients with short buffer
This commit enables sending UDP packets in a background thread with specified delay.
When sending packets without a delay some devices with small RX buffer
( MAG200 STB, for example) will drop tail packets in bursts causing
decoding errors.
To use it 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>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools/zmqsend.c')
0 files changed, 0 insertions, 0 deletions