RTSPTransportField Struct Reference

This describes a single item in the "Transport:" line of one stream as negotiated by the SETUP RTSP command. More...

#include <rtsp.h>


Data Fields

int interleaved_min
 interleave ids, if TCP transport; each TCP/RTSP data packet starts with a '$', stream length and stream ID.
int interleaved_max
int port_min
 UDP multicast port range; the ports to which we should connect to receive multicast UDP data.
int port_max
int client_port_min
 UDP client ports; these should be the local ports of the UDP RTP (and RTCP) sockets over which we receive RTP/RTCP data.
int client_port_max
int server_port_min
 UDP unicast server port range; the ports to which we should connect to receive unicast UDP RTP/RTCP data.
int server_port_max
int ttl
 time-to-live value (required for multicast); the amount of HOPs that packets will be allowed to make before being discarded.
uint32_t destination
 destination IP address
enum RTSPTransport transport
 data/packet transport protocol; e.g.
enum RTSPLowerTransport lower_transport
 network layer transport protocol; e.g.


Detailed Description

This describes a single item in the "Transport:" line of one stream as negotiated by the SETUP RTSP command.

Multiple transports are comma- separated ("Transport: x-read-rdt/tcp;interleaved=0-1,rtp/avp/udp; client_port=1000-1001;server_port=1800-1801") and described in separate RTSPTransportFields.

Definition at line 66 of file rtsp.h.


Field Documentation

Definition at line 79 of file rtsp.h.

Referenced by rtsp_parse_transport().

UDP client ports; these should be the local ports of the UDP RTP (and RTCP) sockets over which we receive RTP/RTCP data.

Definition at line 79 of file rtsp.h.

Referenced by rtsp_cmd_setup(), and rtsp_parse_transport().

destination IP address

Definition at line 89 of file rtsp.h.

Referenced by make_setup_request(), and rtsp_parse_transport().

Definition at line 71 of file rtsp.h.

Referenced by make_setup_request(), and rtsp_parse_transport().

interleave ids, if TCP transport; each TCP/RTSP data packet starts with a '$', stream length and stream ID.

If the stream ID is within the range of this interleaved_min-max, then the packet belongs to this stream.

Definition at line 71 of file rtsp.h.

Referenced by make_setup_request(), and rtsp_parse_transport().

network layer transport protocol; e.g.

TCP or UDP uni-/multicast

Definition at line 95 of file rtsp.h.

Referenced by find_transport(), make_setup_request(), rtsp_cmd_setup(), and rtsp_parse_transport().

Definition at line 75 of file rtsp.h.

Referenced by rtsp_parse_transport().

UDP multicast port range; the ports to which we should connect to receive multicast UDP data.

Definition at line 75 of file rtsp.h.

Referenced by make_setup_request(), and rtsp_parse_transport().

Definition at line 83 of file rtsp.h.

Referenced by rtsp_parse_transport().

UDP unicast server port range; the ports to which we should connect to receive unicast UDP RTP/RTCP data.

Definition at line 83 of file rtsp.h.

Referenced by make_setup_request(), and rtsp_parse_transport().

data/packet transport protocol; e.g.

RTP or RDT

Definition at line 92 of file rtsp.h.

Referenced by make_setup_request(), and rtsp_parse_transport().

time-to-live value (required for multicast); the amount of HOPs that packets will be allowed to make before being discarded.

Definition at line 87 of file rtsp.h.

Referenced by make_setup_request(), and rtsp_parse_transport().


The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:35:48 2012 for FFmpeg by  doxygen 1.5.8