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>

Collaboration diagram for RTSPTransportField:
Collaboration graph

Data Fields

int interleaved_min
 interleave ids, if TCP transport; each TCP/RTSP data packet starts with a '$', stream length and stream ID. More...
 
int interleaved_max
 
int port_min
 UDP multicast port range; the ports to which we should connect to receive multicast UDP data. More...
 
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. More...
 
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. More...
 
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. More...
 
int mode_record
 transport set to record data More...
 
struct sockaddr_storage destination
 destination IP address More...
 
char source [INET6_ADDRSTRLEN+1]
 source IP address More...
 
enum RTSPTransport transport
 data/packet transport protocol; e.g. More...
 
enum RTSPLowerTransport lower_transport
 network layer transport protocol; e.g. More...
 

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 87 of file rtsp.h.

Field Documentation

int RTSPTransportField::client_port_max

Definition at line 100 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), rtsp_cmd_setup(), and rtsp_read_setup().

int RTSPTransportField::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.

Definition at line 100 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), rtsp_cmd_setup(), and rtsp_read_setup().

struct sockaddr_storage RTSPTransportField::destination

destination IP address

Definition at line 113 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx().

int RTSPTransportField::interleaved_max

Definition at line 92 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and rtsp_read_setup().

int RTSPTransportField::interleaved_min

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 92 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and rtsp_read_setup().

enum RTSPLowerTransport RTSPTransportField::lower_transport

network layer transport protocol; e.g.

TCP or UDP uni-/multicast

Definition at line 120 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), find_transport(), rtsp_cmd_setup(), and rtsp_read_setup().

int RTSPTransportField::mode_record

transport set to record data

Definition at line 111 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and rtsp_read_setup().

int RTSPTransportField::port_max

Definition at line 96 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx().

int RTSPTransportField::port_min

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

Definition at line 96 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx().

int RTSPTransportField::server_port_max

Definition at line 104 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx().

int RTSPTransportField::server_port_min

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

Definition at line 104 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx().

char RTSPTransportField::source[INET6_ADDRSTRLEN+1]

source IP address

Definition at line 114 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx().

enum RTSPTransport RTSPTransportField::transport

data/packet transport protocol; e.g.

RTP or RDT

Definition at line 117 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx().

int RTSPTransportField::ttl

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

Definition at line 108 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx().


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