RTSPStream Struct Reference

Describes a single stream, as identified by a single m= line block in the SDP content. More...

#include <rtsp.h>


Data Fields

URLContextrtp_handle
 RTP stream handle (if UDP).
void * transport_priv
 RTP/RDT parse context.
int stream_index
 corresponding stream index, if any.
int interleaved_min
 interleave IDs; copies of RTSPTransportField->interleaved_min/max for the selected transport.
int interleaved_max
char control_url [1024]
 url for this stream (from SDP)
RTPPayloadData rtp_payload_data
 rtp payload parsing infos from SDP (i.e.
int sdp_port
 The following are used only in SDP, not RTSP.
struct in_addr sdp_ip
 IP address (from SDP content).
int sdp_ttl
 IP Time-To-Live (from SDP content).
int sdp_payload_type
 payload type
RTPDynamicProtocolHandlerdynamic_handler
 The following are used for dynamic protocols (rtp_*.c/rdt.c).
PayloadContextdynamic_protocol_context
 private data associated with the dynamic protocol


Detailed Description

Describes a single stream, as identified by a single m= line block in the SDP content.

In the case of RDT, one RTSPStream can represent multiple AVStreams. In this case, each AVStream in this set has similar content (but different codec/bitrate).

Definition at line 234 of file rtsp.h.


Field Documentation

url for this stream (from SDP)

Definition at line 245 of file rtsp.h.

Referenced by make_setup_request(), and sdp_parse_line().

The following are used for dynamic protocols (rtp_*.c/rdt.c).

handler structure

Definition at line 263 of file rtsp.h.

Referenced by rtsp_close_streams(), rtsp_open_transport_ctx(), sdp_parse_line(), and sdp_parse_rtpmap().

private data associated with the dynamic protocol

Definition at line 266 of file rtsp.h.

Referenced by rtsp_close_streams(), rtsp_open_transport_ctx(), sdp_parse_line(), and sdp_parse_rtpmap().

Definition at line 243 of file rtsp.h.

Referenced by make_setup_request().

interleave IDs; copies of RTSPTransportField->interleaved_min/max for the selected transport.

Only used for TCP.

Definition at line 243 of file rtsp.h.

Referenced by make_setup_request(), and tcp_read_packet().

RTP stream handle (if UDP).

Definition at line 235 of file rtsp.h.

Referenced by make_setup_request(), rtsp_close_streams(), rtsp_open_transport_ctx(), sdp_read_header(), and udp_read_packet().

rtp payload parsing infos from SDP (i.e.

mapping between private payload IDs and media-types (string), so that we can derive what type of payload we're dealing with (and how to parse it).

Definition at line 258 of file rtsp.h.

Referenced by rtsp_open_transport_ctx(), and sdp_parse_fmtp().

struct in_addr RTSPStream::sdp_ip [read]

IP address (from SDP content).

Definition at line 250 of file rtsp.h.

Referenced by sdp_parse_line(), and sdp_read_header().

payload type

Definition at line 252 of file rtsp.h.

Referenced by rtsp_open_transport_ctx(), and sdp_parse_line().

The following are used only in SDP, not RTSP.

port (from SDP content)

Definition at line 249 of file rtsp.h.

Referenced by sdp_parse_line(), and sdp_read_header().

IP Time-To-Live (from SDP content).

Definition at line 251 of file rtsp.h.

Referenced by sdp_parse_line(), and sdp_read_header().

corresponding stream index, if any.

-1 if none (MPEG2TS case)

Definition at line 239 of file rtsp.h.

Referenced by rtsp_open_transport_ctx(), and sdp_parse_line().

RTP/RDT parse context.

Definition at line 236 of file rtsp.h.

Referenced by rtsp_close_streams(), rtsp_open_transport_ctx(), and rtsp_read_packet().


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