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 if input, RTP AVFormatContext if output.
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)
int sdp_port
 The following are used only in SDP, not RTSP.
struct sockaddr_storage 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 324 of file rtsp.h.


Field Documentation

RTP stream handle (if UDP).

Definition at line 325 of file rtsp.h.

Referenced by ff_rtsp_close_streams(), make_setup_request(), rtsp_open_transport_ctx(), and sdp_read_header().

RTP/RDT parse context if input, RTP AVFormatContext if output.

Definition at line 326 of file rtsp.h.

Referenced by ff_rtsp_close_streams(), handle_rtp_info(), rtsp_open_transport_ctx(), rtsp_read_play(), rtsp_write_packet(), and tcp_write_packet().

corresponding stream index, if any.

-1 if none (MPEG2TS case)

Definition at line 329 of file rtsp.h.

Referenced by ff_rtsp_setup_output_streams(), make_setup_request(), rtsp_open_transport_ctx(), and rtsp_read_play().

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

Only used for TCP.

Definition at line 333 of file rtsp.h.

Referenced by ff_rtsp_tcp_read_packet(), make_setup_request(), and tcp_write_packet().

Definition at line 333 of file rtsp.h.

Referenced by make_setup_request(), and tcp_write_packet().

url for this stream (from SDP)

Definition at line 335 of file rtsp.h.

Referenced by ff_rtsp_setup_output_streams(), handle_rtp_info(), and make_setup_request().

The following are used only in SDP, not RTSP.

port (from SDP content)

Definition at line 339 of file rtsp.h.

Referenced by make_setup_request(), and sdp_read_header().

IP address (from SDP content).

Definition at line 340 of file rtsp.h.

Referenced by make_setup_request(), and sdp_read_header().

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

Definition at line 341 of file rtsp.h.

Referenced by make_setup_request(), and sdp_read_header().

payload type

Definition at line 342 of file rtsp.h.

Referenced by rtsp_open_transport_ctx().

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

handler structure

Definition at line 348 of file rtsp.h.

Referenced by ff_rtsp_close_streams(), and rtsp_open_transport_ctx().

private data associated with the dynamic protocol

Definition at line 351 of file rtsp.h.

Referenced by ff_rtsp_close_streams(), and rtsp_open_transport_ctx().


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

Generated on Wed Jan 19 23:49:58 2011 for FFmpeg by  doxygen 1.5.6