doc/protocols/rtp: apply misc fixes

Partially suggested-by Burek Pekaric <burek021@gmail.com>.
This commit is contained in:
Stefano Sabatini 2013-10-27 12:39:21 +01:00
parent 21f22908c6
commit d3aa04b150

View File

@ -594,7 +594,7 @@ ffplay "rtmp://myserver/live/mystream live=1"
@section rtp @section rtp
Real-Time 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}...] rtp://@var{hostname}[:@var{port}][?@var{option}=@var{val}...]
@ -606,7 +606,7 @@ The following URL options are supported:
@table @option @table @option
@item ttl=@var{n} @item ttl=@var{n}
Set the TTL (Time-To-Leave) value (for multicast only). Set the TTL (Time-To-Live) value (for multicast only).
@item rtcpport=@var{n} @item rtcpport=@var{n}
Set the remote RTCP port to @var{n}. Set the remote RTCP port to @var{n}.
@ -634,8 +634,11 @@ List disallowed (blocked) source IP addresses.
Send packets to the source address of the latest received packet (if Send packets to the source address of the latest received packet (if
set to 1) or to a default remote address (if set to 0). set to 1) or to a default remote address (if set to 0).
@item localport=@var{n} (DEPRECATED) @item localport=@var{n}
Set the local port to @var{n}. Set the local RTP port to @var{n}.
This is a deprecated option. Instead, @option{localrtpport} should be
used.
@end table @end table
@ -644,11 +647,11 @@ Important notes:
@enumerate @enumerate
@item @item
if @option{rtcpport} is not set the RTCP port will be set to the RTP If @option{rtcpport} is not set the RTCP port will be set to the RTP
port value plus 1. port value plus 1.
@item @item
If @option{localport} (the local RTP port) is not set any available If @option{localrtpport} (the local RTP port) is not set any available
port will be used for the local RTP and RTCP ports. port will be used for the local RTP and RTCP ports.
@item @item