1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

doc/protocols: fix/improve RTP documentation

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Stefan Pöschel
2025-01-15 17:13:03 +01:00
committed by Michael Niedermayer
parent 9a794897c3
commit 2ac2ebcd76

View File

@@ -1150,10 +1150,15 @@ ffplay "rtmp://myserver/live/mystream live=1"
Real-time Transport Protocol. Real-time Transport Protocol.
The required syntax for an RTP URL is: The required syntax for an RTP URL is:
rtp://@var{hostname}[:@var{port}][?@var{option}=@var{val}...] @example
rtp://@var{hostname}[:@var{port}][?@var{options}]
@end example
@var{port} specifies the RTP port to use. @var{port} specifies the RTP port to use.
@var{options} contains a list of &-separated options of the form
@var{key}=@var{val}.
The following URL options are supported: The following URL options are supported:
@table @option @table @option
@@ -1193,16 +1198,15 @@ set to 1) or to a default remote address (if set to 0).
@item localport=@var{n} @item localport=@var{n}
Set the local RTP port to @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} @item localaddr=@var{addr}
Local IP address of a network interface used for sending packets or joining Local IP address of a network interface used for sending packets or joining
multicast groups. multicast groups.
@item timeout=@var{n} @item timeout=@var{n}
Set timeout (in microseconds) of socket I/O operations to @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 @end table
Important notes: Important notes: