aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorPavel Nikiforov <nikiforov.pavel@gmail.com>2016-03-08 23:27:45 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-25 01:39:22 +0200
commit413c842a697866b62ea5dbb5e5fa54ae990d503e (patch)
tree038b49228777bd97151b269c238abe6db37ed8cc /doc/protocols.texi
parent49640ae315abf2f38df368763fd753383a1381e4 (diff)
downloadffmpeg-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 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index a1084bd8a7..a9c9d0c462 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1285,6 +1285,9 @@ Set the UDP maximum socket buffer size in bytes. This is used to set either
the receive or send buffer size, depending on what the socket is used for.
Default is 64KB. See also @var{fifo_size}.
+@item packet_gap=@var{seconds}
+Delay between packets
+
@item localport=@var{port}
Override the local UDP port to bind with.