RTP protocol. More...
#include "libavutil/parseutils.h"
#include "libavutil/avstring.h"
#include "avformat.h"
#include "avio_internal.h"
#include "rtpdec.h"
#include "url.h"
#include <stdarg.h>
#include "internal.h"
#include "network.h"
#include "os_support.h"
#include <fcntl.h>
Go to the source code of this file.
RTP protocol.
Definition in file rtpproto.c.
If no filename is given to av_open_input_file because you want to get the local port first, then you must call this function to set the remote server address.
Definition at line 58 of file rtpproto.c.
add option to url of the form: "http://host:port/path?option1=val1&option2=val2...
Definition at line 84 of file rtpproto.c.
Definition at line 99 of file rtpproto.c.
Referenced by rtp_open().
url syntax: rtp://host:port[?option=val...] option: 'ttl=n' : set the ttl value (for multicast only) 'rtcpport=n' : set the remote rtcp port to n 'localrtpport=n' : set the local rtp port to n '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 deprecated option: 'localport=n' : set the local port to n
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 rtp and rtcp ports if the local rtcp port is not set it will be the local rtp port + 1
Definition at line 133 of file rtpproto.c.
Definition at line 210 of file rtpproto.c.
Definition at line 259 of file rtpproto.c.
Definition at line 277 of file rtpproto.c.
Return the local rtp port used by the RTP connection.
Definition at line 292 of file rtpproto.c.
Referenced by rtsp_cmd_setup(), and rtsp_read_setup().
Return the local rtcp port used by the RTP connection.
Definition at line 304 of file rtpproto.c.
Referenced by rtsp_cmd_setup().
Definition at line 310 of file rtpproto.c.
Definition at line 316 of file rtpproto.c.
Definition at line 329 of file rtpproto.c.