Browse Source

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>
tags/n2.1
Martin Storsjö 11 years ago
parent
commit
2427ac6ccd
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/rtpproto.c

+ 2
- 1
libavformat/rtpproto.c 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
* 'pkt_size=n' : set max packet size
* '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:
* '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 local rtp port isn't set any available port will be used for the local


Loading…
Cancel
Save