rtpproto: Update the parameter documentation

Move the sources documentation up below the marker for deprecated
otpions. Also mention the new block parameter, that was added
in 749722209.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2013-08-13 12:19:57 +03:00
parent 5268bd2900
commit 2427ac6ccd
1 changed files with 2 additions and 1 deletions

View File

@ -234,9 +234,10 @@ static void rtp_parse_addr_list(URLContext *h, char *buf,
* 'localrtcpport=n' : set the local rtcp port to n * 'localrtcpport=n' : set the local rtcp port to n
* 'pkt_size=n' : set max packet size * 'pkt_size=n' : set max packet size
* 'connect=0/1' : do a connect() on the UDP socket * 'connect=0/1' : do a connect() on the UDP socket
* 'sources=ip[,ip]' : list allowed source IP addresses
* 'block=ip[,ip]' : list disallowed source IP addresses
* deprecated option: * deprecated option:
* 'localport=n' : set the local port to n * 'localport=n' : set the local port to n
* 'sources=ip[,ip]' : list allowed source IP addresses
* *
* if rtcpport isn't set the rtcp port will be the rtp port + 1 * if rtcpport isn't set the rtcp port will be the rtp port + 1
* if local rtp port isn't set any available port will be used for the local * if local rtp port isn't set any available port will be used for the local