提交 d3aa04b1 编写于 作者: S Stefano Sabatini

doc/protocols/rtp: apply misc fixes

Partially suggested-by Burek Pekaric <burek021@gmail.com>.
上级 21f22908
...@@ -594,7 +594,7 @@ ffplay "rtmp://myserver/live/mystream live=1" ...@@ -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: ...@@ -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. ...@@ -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: ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册