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

Stefan Pöschel basic.master at gmx.de
Wed Jan 15 18:27:39 EET 2025


Signed-off-by: Stefan Pöschel <basic.master at gmx.de>
---
  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:
--
2.39.5



More information about the ffmpeg-devel mailing list