|
FFmpeg
|
Private data for the RTSP demuxer. More...
#include <rtsp.h>
Public Attributes | |
| const AVClass * | class |
| Class for private options. More... | |
| URLContext * | rtsp_hd |
| int | nb_rtsp_streams |
| number of items in the 'rtsp_streams' variable | |
| struct RTSPStream ** | rtsp_streams |
| streams in this session | |
| enum RTSPClientState | state |
| indicator of whether we are currently receiving data from the server. More... | |
| int64_t | seek_timestamp |
| the seek value requested when calling av_seek_frame(). More... | |
| int | seq |
| RTSP command sequence number. | |
| char | session_id [512] |
| copy of RTSPMessageHeader->session_id, i.e. More... | |
| int | timeout |
| copy of RTSPMessageHeader->timeout, i.e. More... | |
| int64_t | last_cmd_time |
| timestamp of the last RTSP command that we sent to the RTSP server. More... | |
| enum RTSPTransport | transport |
| the negotiated data/packet transport protocol; e.g. More... | |
| enum RTSPLowerTransport | lower_transport |
| the negotiated network layer transport protocol; e.g. More... | |
| enum RTSPServerType | server_type |
| brand of server that we're talking to; e.g. More... | |
| char | real_challenge [64] |
| the "RealChallenge1:" field from the server | |
| char | auth [128] |
| plaintext authorization line (username:password) | |
| HTTPAuthState | auth_state |
| authentication state | |
| char | last_reply [2048] |
| The last reply of the server to a RTSP command. | |
| void * | cur_transport_priv |
| RTSPStream->transport_priv of the last stream that we read a packet from. | |
| char | control_uri [1024] |
| some MS RTSP streams contain a URL in the SDP that we need to use for all subsequent RTSP requests, rather than the input URI; in other cases, this is a copy of AVFormatContext->filename. More... | |
| URLContext * | rtsp_hd_out |
| Additional output handle, used when input and output are done separately, eg for HTTP tunneling. More... | |
| enum RTSPControlTransport | control_transport |
| RTSP transport mode, such as plain or tunneled. More... | |
| int | nb_byes |
| uint8_t * | recvbuf |
| Reusable buffer for receiving packets. | |
| int | lower_transport_mask |
| A mask with all requested transport methods. | |
| uint64_t | packets |
| The number of returned packets. | |
| struct pollfd * | p |
| Polling array for udp. | |
| int | max_p |
| int | get_parameter_supported |
| Whether the server supports the GET_PARAMETER method. | |
| int | initial_pause |
| Do not begin to play the stream immediately. | |
| int | rtp_muxer_flags |
| Option flags for the chained RTP muxer. | |
| int | accept_dynamic_rate |
| Whether the server accepts the x-Dynamic-Rate header. | |
| int | rtsp_flags |
| Various option flags for the RTSP muxer/demuxer. | |
| int | media_type_mask |
| Mask of all requested media types. | |
| int | rtp_port_min |
| Minimum and maximum local UDP ports. | |
| int | rtp_port_max |
| int | initial_timeout |
| Timeout to wait for incoming connections. | |
| int | stimeout |
| timeout of socket i/o operations. | |
| int | reordering_queue_size |
| Size of RTP packet reordering queue. | |
| char * | user_agent |
| User-Agent string. | |
| char | default_lang [4] |
| int | buffer_size |
| int | need_subscription |
| The following are used for Real stream selection. More... | |
| enum AVDiscard * | real_setup_cache |
| stream setup during the last frame read. More... | |
| enum AVDiscard * | real_setup |
| current stream setup. More... | |
| char | last_subscription [1024] |
| the last value of the "SET_PARAMETER Subscribe:" RTSP command. More... | |
| AVFormatContext * | asf_ctx |
| The following are used for RTP/ASF streams. More... | |
| uint64_t | asf_pb_pos |
| cache for position of the asf demuxer, since we load a new data packet in the bytecontext for each incoming RTSP packet. More... | |
| struct MpegTSContext * | ts |
| The following are used for parsing raw mpegts in udp. | |
| int | recvbuf_pos |
| int | recvbuf_len |
Private data for the RTSP demuxer.
| AVFormatContext* RTSPState::asf_ctx |
The following are used for RTP/ASF streams.
ASF demuxer context for the embedded ASF stream from WMS servers
| uint64_t RTSPState::asf_pb_pos |
cache for position of the asf demuxer, since we load a new data packet in the bytecontext for each incoming RTSP packet.
| const AVClass* RTSPState::class |
Class for private options.
| enum RTSPControlTransport RTSPState::control_transport |
RTSP transport mode, such as plain or tunneled.
| char RTSPState::control_uri[1024] |
some MS RTSP streams contain a URL in the SDP that we need to use for all subsequent RTSP requests, rather than the input URI; in other cases, this is a copy of AVFormatContext->filename.
| int64_t RTSPState::last_cmd_time |
timestamp of the last RTSP command that we sent to the RTSP server.
This is used to calculate when to send dummy commands to keep the connection alive, in conjunction with timeout.
| char RTSPState::last_subscription[1024] |
the last value of the "SET_PARAMETER Subscribe:" RTSP command.
this is used to send the same "Unsubscribe:" if stream setup changed, before sending a new "Subscribe:" command.
| enum RTSPLowerTransport RTSPState::lower_transport |
the negotiated network layer transport protocol; e.g.
TCP or UDP uni-/multicast
| int RTSPState::need_subscription |
The following are used for Real stream selection.
whether we need to send a "SET_PARAMETER Subscribe:" command
| enum AVDiscard* RTSPState::real_setup |
current stream setup.
This is a temporary buffer used to compare current setup to previous frame setup.
| enum AVDiscard* RTSPState::real_setup_cache |
stream setup during the last frame read.
This is used to detect if we need to subscribe or unsubscribe to any new streams.
| URLContext* RTSPState::rtsp_hd_out |
Additional output handle, used when input and output are done separately, eg for HTTP tunneling.
| int64_t RTSPState::seek_timestamp |
the seek value requested when calling av_seek_frame().
This value is subsequently used as part of the "Range" parameter when emitting the RTSP PLAY command. If we are currently playing, this command is called instantly. If we are currently paused, this command is called whenever we resume playback. Either way, the value is only used once, see rtsp_read_play() and rtsp_read_seek().
| enum RTSPServerType RTSPState::server_type |
brand of server that we're talking to; e.g.
WMS, REAL or other. Detected based on the value of RTSPMessageHeader->server or the presence of RTSPMessageHeader->real_challenge
| char RTSPState::session_id[512] |
copy of RTSPMessageHeader->session_id, i.e.
the server-provided session identifier that the client should re-transmit in each RTSP command
| enum RTSPClientState RTSPState::state |
indicator of whether we are currently receiving data from the server.
Basically this isn't more than a simple cache of the last PLAY/PAUSE command sent to the server, to make sure we don't send 2x the same unexpectedly or commands in the wrong state.
| int RTSPState::timeout |
copy of RTSPMessageHeader->timeout, i.e.
the time (in seconds) that the server will go without traffic on the RTSP/TCP line before it closes the connection.
| enum RTSPTransport RTSPState::transport |
the negotiated data/packet transport protocol; e.g.
RTP or RDT
1.8.12