summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2016-06-10 02:32:21 +0200
committerMarton Balint <cus@passwd.hu>2016-06-19 22:55:57 +0200
commitcc16229d914aa0eea827599f9df7716bb2afa36b (patch)
tree4759cc930078a38c3b5a6bfefd906a8953424ff1 /doc/protocols.texi
parent0a065694877e7fc37aa68d37cdfa2dee3823ad76 (diff)
avformat/udp: replace packet_gap with bitrate option
We haven't had a stable release since the packet_gap addition, so probably it is worth reworking the option to something that makes more sense to the end user. Also add burst_bits option to specify maximum length of bit bursts. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index a9c9d0c462..72b39145ec 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1285,8 +1285,13 @@ 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 bitrate=@var{bitrate}
+If set to nonzero, the output will have the specified constant bitrate if the
+input has enough packets to sustain it.
+
+@item burst_bits=@var{bits}
+When using @var{bitrate} this specifies the maximum number of bits in
+packet bursts.
@item localport=@var{port}
Override the local UDP port to bind with.