Private data for the RTSP demuxer. More...
#include <rtsp.h>
Private data for the RTSP demuxer.
Definition at line 219 of file rtsp.h.
Referenced by ff_rtsp_tcp_read_packet(), read_line(), rtsp_listen(), rtsp_read_announce(), rtsp_send_reply(), and rtsp_write_packet().
number of items in the 'rtsp_streams' variable
Definition at line 222 of file rtsp.h.
Referenced by ff_rtsp_close_streams(), ff_rtsp_setup_output_streams(), ff_rtsp_tcp_read_packet(), ff_rtsp_undo_setup(), rtsp_read_packet(), rtsp_read_play(), rtsp_read_setup(), and rtsp_write_packet().
streams in this session
Definition at line 224 of file rtsp.h.
Referenced by ff_rtsp_close_streams(), ff_rtsp_setup_output_streams(), ff_rtsp_tcp_read_packet(), ff_rtsp_undo_setup(), rtsp_read_play(), rtsp_read_setup(), and rtsp_write_packet().
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.
Definition at line 230 of file rtsp.h.
Referenced by ff_rtsp_parse_streaming_commands(), ff_rtsp_tcp_read_packet(), parse_command_line(), rtsp_listen(), rtsp_read_packet(), rtsp_read_pause(), rtsp_read_play(), rtsp_read_record(), rtsp_read_seek(), rtsp_read_setup(), rtsp_write_packet(), and rtsp_write_record().
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().
Definition at line 238 of file rtsp.h.
Referenced by rtsp_read_play(), and rtsp_read_seek().
RTSP command sequence number.
Definition at line 240 of file rtsp.h.
Referenced by ff_rtsp_parse_streaming_commands(), rtsp_read_announce(), rtsp_read_options(), rtsp_read_record(), rtsp_read_request(), and rtsp_read_setup().
copy of RTSPMessageHeader->session_id, i.e.
the server-provided session identifier that the client should re-transmit in each RTSP command
Definition at line 244 of file rtsp.h.
Referenced by check_sessionid(), rtsp_read_packet(), rtsp_read_record(), rtsp_read_request(), and rtsp_read_setup().
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.
Definition at line 249 of file rtsp.h.
Referenced by rtsp_read_packet().
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.
Definition at line 254 of file rtsp.h.
Referenced by rtsp_read_packet().
the negotiated data/packet transport protocol; e.g.
RTP or RDT
Definition at line 257 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_tcp_read_packet(), ff_rtsp_undo_setup(), and rtsp_read_play().
the negotiated network layer transport protocol; e.g.
TCP or UDP uni-/multicast
Definition at line 261 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx(), ff_rtsp_undo_setup(), rtsp_read_packet(), rtsp_read_setup(), and rtsp_write_packet().
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
Definition at line 266 of file rtsp.h.
Referenced by ff_rtsp_setup_input_streams(), rtsp_read_packet(), rtsp_read_pause(), and rtsp_read_play().
the "RealChallenge1:" field from the server
Definition at line 269 of file rtsp.h.
Referenced by resetup_tcp().
The following are used for Real stream selection.
whether we need to send a "SET_PARAMETER Subscribe:" command
Definition at line 287 of file rtsp.h.
Referenced by rtsp_read_packet(), rtsp_read_pause(), and rtsp_read_play().
stream setup during the last frame read.
This is used to detect if we need to subscribe or unsubscribe to any new streams.
Definition at line 291 of file rtsp.h.
Referenced by rtsp_read_close(), rtsp_read_header(), and rtsp_read_packet().
current stream setup.
This is a temporary buffer used to compare current setup to previous frame setup.
Definition at line 295 of file rtsp.h.
Referenced by rtsp_read_close(), rtsp_read_header(), and rtsp_read_packet().
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.
Definition at line 300 of file rtsp.h.
Referenced by rtsp_read_packet().
The following are used for RTP/ASF streams.
ASF demuxer context for the embedded ASF stream from WMS servers
Definition at line 306 of file rtsp.h.
Referenced by asfrtp_parse_packet(), asfrtp_parse_sdp_line(), ff_rtsp_close_streams(), and ff_wms_parse_sdp_a_line().
cache for position of the asf demuxer, since we load a new data packet in the bytecontext for each incoming RTSP packet.
Definition at line 310 of file rtsp.h.
Referenced by asfrtp_parse_packet(), and ff_wms_parse_sdp_a_line().
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.
Definition at line 316 of file rtsp.h.
Referenced by ff_rtsp_setup_input_streams(), ff_rtsp_setup_output_streams(), parse_command_line(), rtsp_listen(), rtsp_read_close(), rtsp_read_packet(), rtsp_read_pause(), rtsp_read_play(), rtsp_write_close(), and rtsp_write_record().
The following are used for parsing raw mpegts in udp.
Definition at line 320 of file rtsp.h.
Referenced by ff_rtsp_close_streams().
Additional output handle, used when input and output are done separately, eg for HTTP tunneling.
Definition at line 327 of file rtsp.h.
Referenced by rtsp_listen(), and tcp_write_packet().
Definition at line 335 of file rtsp.h.
Referenced by rtsp_read_play().
Reusable buffer for receiving packets.
Definition at line 338 of file rtsp.h.
Referenced by ff_rtsp_close_streams().
A mask with all requested transport methods.
Definition at line 343 of file rtsp.h.
Referenced by rtsp_read_packet().
The number of returned packets.
Definition at line 348 of file rtsp.h.
Referenced by rtsp_read_packet().
Polling array for udp.
Definition at line 353 of file rtsp.h.
Referenced by ff_rtsp_close_streams().
Whether the server supports the GET_PARAMETER method.
Definition at line 358 of file rtsp.h.
Referenced by rtsp_read_packet().
Do not begin to play the stream immediately.
Definition at line 363 of file rtsp.h.
Referenced by rtsp_read_header().
Various option flags for the RTSP muxer/demuxer.
Definition at line 376 of file rtsp.h.
Referenced by rtsp_read_close(), rtsp_read_header(), and rtsp_read_packet().
Minimum and maximum local UDP ports.
Definition at line 386 of file rtsp.h.
Referenced by rtsp_read_setup().
Definition at line 386 of file rtsp.h.
Referenced by rtsp_read_setup().
Timeout to wait for incoming connections.
Definition at line 391 of file rtsp.h.
Referenced by rtsp_listen(), and rtsp_read_header().
Size of RTP packet reordering queue.
Definition at line 401 of file rtsp.h.
Referenced by ff_rtsp_open_transport_ctx().