|
FFmpeg
|
Describe a single stream, as identified by a single m= line block in the SDP content. More...
#include <rtsp.h>
Data Fields | |
| URLContext * | rtp_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 [MAX_URL_SIZE] |
| 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 | 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 RTPDynamicProtocolHandler * | dynamic_handler |
| The following are used for dynamic protocols (rtpdec_*.c/rdt.c) | |
| PayloadContext * | dynamic_protocol_context |
| private data associated with the dynamic protocol | |
| 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] |
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).
| URLContext* RTSPStream::rtp_handle |
RTP stream handle (if UDP)
Definition at line 489 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_undo_setup(), rtsp_read_play(), and rtsp_read_setup().
| void* RTSPStream::transport_priv |
RTP/RDT parse context if input, RTP AVFormatContext if output.
Definition at line 490 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_tcp_write_packet(), ff_rtsp_undo_setup(), rtsp_read_play(), rtsp_read_setup(), and rtsp_write_packet().
| int RTSPStream::stream_index |
corresponding stream index, if any.
-1 if none (MPEG2TS case)
Definition at line 493 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_setup_output_streams(), and rtsp_read_play().
| int RTSPStream::interleaved_min |
interleave IDs; copies of RTSPTransportField->interleaved_min/max for the selected transport.
Only used for TCP.
Definition at line 497 of file rtsp.h.
Referenced by ff_rtsp_tcp_read_packet(), ff_rtsp_tcp_write_packet(), and rtsp_read_setup().
| int RTSPStream::interleaved_max |
Definition at line 497 of file rtsp.h.
Referenced by ff_rtsp_tcp_write_packet(), and rtsp_read_setup().
| char RTSPStream::control_url[MAX_URL_SIZE] |
url for this stream (from SDP)
Definition at line 499 of file rtsp.h.
Referenced by ff_rtsp_setup_output_streams(), and rtsp_read_setup().
| int RTSPStream::sdp_port |
| struct sockaddr_storage RTSPStream::sdp_ip |
| int RTSPStream::nb_include_source_addrs |
Number of source-specific multicast include source IP addresses (from SDP content)
Definition at line 505 of file rtsp.h.
Referenced by ff_rtsp_close_streams().
| struct RTSPSource** RTSPStream::include_source_addrs |
Source-specific multicast include source IP addresses (from SDP content)
Definition at line 506 of file rtsp.h.
Referenced by ff_rtsp_close_streams().
| int RTSPStream::nb_exclude_source_addrs |
Number of source-specific multicast exclude source IP addresses (from SDP content)
Definition at line 507 of file rtsp.h.
Referenced by ff_rtsp_close_streams().
| struct RTSPSource** RTSPStream::exclude_source_addrs |
Source-specific multicast exclude source IP addresses (from SDP content)
Definition at line 508 of file rtsp.h.
Referenced by ff_rtsp_close_streams().
| int RTSPStream::sdp_payload_type |
| const RTPDynamicProtocolHandler* RTSPStream::dynamic_handler |
The following are used for dynamic protocols (rtpdec_*.c/rdt.c)
handler structure
Definition at line 516 of file rtsp.h.
Referenced by ff_rtsp_close_streams(), and ff_rtsp_open_transport_ctx().
| PayloadContext* RTSPStream::dynamic_protocol_context |
private data associated with the dynamic protocol
Definition at line 519 of file rtsp.h.
Referenced by ff_rtsp_close_streams(), and ff_rtsp_open_transport_ctx().
| int RTSPStream::feedback |
| uint32_t RTSPStream::ssrc |
SSRC for this stream, to allow identifying RTCP packets before the first RTP packet.
Definition at line 526 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx().
| char RTSPStream::crypto_suite[40] |
Definition at line 528 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx().
| char RTSPStream::crypto_params[100] |
Definition at line 529 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx().