RTSPStream Struct Reference

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

#include <rtsp.h>

Collaboration diagram for RTSPStream:
Collaboration graph

Data Fields

URLContextrtp_handle
 RTP stream handle (if UDP) More...
 
voidtransport_priv
 RTP/RDT parse context if input, RTP AVFormatContext if output. More...
 
int stream_index
 corresponding stream index, if any. More...
 
int interleaved_min
 interleave IDs; copies of RTSPTransportField->interleaved_min/max for the selected transport. More...
 
int interleaved_max
 
char control_url [1024]
 url for this stream (from SDP) More...
 
int feedback
 Enable sending RTCP feedback messages according to RFC 4585. More...
 
char crypto_suite [40]
 
char crypto_params [100]
 
int sdp_port
 The following are used only in SDP, not RTSP. More...
 
struct sockaddr_storage sdp_ip
 IP address (from SDP content) More...
 
int sdp_ttl
 IP Time-To-Live (from SDP content) More...
 
int sdp_payload_type
 payload type More...
 
RTPDynamicProtocolHandlerdynamic_handler
 The following are used for dynamic protocols (rtpdec_*.c/rdt.c) More...
 
PayloadContextdynamic_protocol_context
 private data associated with the dynamic protocol More...
 

Detailed Description

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

Field Documentation

char RTSPStream::control_url[1024]

url for this stream (from SDP)

Definition at line 429 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_setup_output_streams(), get_sockaddr(), and rtsp_read_setup().

char RTSPStream::crypto_params[100]

Definition at line 452 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and get_sockaddr().

char RTSPStream::crypto_suite[40]

Definition at line 451 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and get_sockaddr().

RTPDynamicProtocolHandler* RTSPStream::dynamic_handler

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

handler structure

Definition at line 442 of file rtsp.h.

Referenced by ff_rtsp_close_streams(), ff_rtsp_open_transport_ctx(), and get_sockaddr().

PayloadContext* RTSPStream::dynamic_protocol_context

private data associated with the dynamic protocol

Definition at line 445 of file rtsp.h.

Referenced by ff_rtsp_close_streams(), ff_rtsp_open_transport_ctx(), and get_sockaddr().

int RTSPStream::feedback

Enable sending RTCP feedback messages according to RFC 4585.

Definition at line 449 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and get_sockaddr().

int RTSPStream::interleaved_max

Definition at line 427 of file rtsp.h.

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

int RTSPStream::interleaved_min

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

Only used for TCP.

Definition at line 427 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_tcp_read_packet(), rtsp_read_setup(), and tcp_write_packet().

URLContext* RTSPStream::rtp_handle

RTP stream handle (if UDP)

Definition at line 419 of file rtsp.h.

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

struct sockaddr_storage RTSPStream::sdp_ip

IP address (from SDP content)

Definition at line 434 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and get_sockaddr().

int RTSPStream::sdp_payload_type

payload type

Definition at line 436 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and get_sockaddr().

int RTSPStream::sdp_port

The following are used only in SDP, not RTSP.

port (from SDP content)

Definition at line 433 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and get_sockaddr().

int RTSPStream::sdp_ttl

IP Time-To-Live (from SDP content)

Definition at line 435 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), and get_sockaddr().

int RTSPStream::stream_index

corresponding stream index, if any.

-1 if none (MPEG2TS case)

Definition at line 423 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_setup_output_streams(), get_sockaddr(), and rtsp_read_play().

void* RTSPStream::transport_priv

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

Definition at line 420 of file rtsp.h.

Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_undo_setup(), rtsp_read_play(), rtsp_write_packet(), and tcp_write_packet().


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