From cc16229d914aa0eea827599f9df7716bb2afa36b Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Fri, 10 Jun 2016 02:32:21 +0200 Subject: 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 --- doc/protocols.texi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3