[FFmpeg-cvslog] doc/protocols: fix/improve RTP documentation

Stefan Pöschel git at videolan.org
Sat Jan 18 00:34:00 EET 2025


ffmpeg | branch: master | Stefan Pöschel <basic.master at gmx.de> | Wed Jan 15 17:13:03 2025 +0100| [2ac2ebcd76444501a5d4074f999647b8e72a8f60] | committer: Michael Niedermayer

doc/protocols: fix/improve RTP documentation

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ac2ebcd76444501a5d4074f999647b8e72a8f60
---

 doc/protocols.texi | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/doc/protocols.texi b/doc/protocols.texi
index ed70af4b33..969f4bf022 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1150,10 +1150,15 @@ ffplay "rtmp://myserver/live/mystream live=1"
 Real-time Transport Protocol.
 
 The required syntax for an RTP URL is:
-rtp://@var{hostname}[:@var{port}][?@var{option}=@var{val}...]
+ at example
+rtp://@var{hostname}[:@var{port}][?@var{options}]
+ at end example
 
 @var{port} specifies the RTP port to use.
 
+ at var{options} contains a list of &-separated options of the form
+ at var{key}=@var{val}.
+
 The following URL options are supported:
 
 @table @option
@@ -1193,16 +1198,15 @@ set to 1) or to a default remote address (if set to 0).
 @item localport=@var{n}
 Set the local RTP port to @var{n}.
 
+This is a deprecated option. Instead, @option{localrtpport} should be
+used.
+
 @item localaddr=@var{addr}
 Local IP address of a network interface used for sending packets or joining
 multicast groups.
 
 @item timeout=@var{n}
 Set timeout (in microseconds) of socket I/O operations to @var{n}.
-
-This is a deprecated option. Instead, @option{localrtpport} should be
-used.
-
 @end table
 
 Important notes:



More information about the ffmpeg-cvslog mailing list