FFmpeg
Public Attributes | List of all members
RTSPStream Struct Reference

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

#include <rtsp.h>

Public Attributes

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. 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)
 
int feedback
 Enable sending RTCP feedback messages according to RFC 4585.
 
uint32_t ssrc
 SSRC for this stream, to allow identifying RTCP packets before the first RTP packet.
 
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)
 
int nb_include_source_addrs
 Number of source-specific multicast include source IP addresses (from SDP content)
 
struct RTSPSource ** include_source_addrs
 Source-specific multicast include source IP addresses (from SDP content)
 
int nb_exclude_source_addrs
 Number of source-specific multicast exclude source IP addresses (from SDP content)
 
struct RTSPSource ** exclude_source_addrs
 Source-specific multicast exclude source IP addresses (from SDP content)
 
int sdp_ttl
 IP Time-To-Live (from SDP content)
 
int sdp_payload_type
 payload type
 
const RTPDynamicProtocolHandlerdynamic_handler
 The following are used for dynamic protocols (rtpdec_*.c/rdt.c) More...
 
PayloadContextdynamic_protocol_context
 private data associated with the dynamic protocol
 

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).

Member Data Documentation

§ dynamic_handler

const RTPDynamicProtocolHandler* RTSPStream::dynamic_handler

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

handler structure

§ interleaved_min

int RTSPStream::interleaved_min

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

Only used for TCP.

§ sdp_port

int RTSPStream::sdp_port

The following are used only in SDP, not RTSP.

port (from SDP content)

§ stream_index

int RTSPStream::stream_index

corresponding stream index, if any.

-1 if none (MPEG2TS case)


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