|
FFmpeg
|
#include "config_components.h"#include "libavutil/avstring.h"#include "libavutil/avassert.h"#include "libavutil/intreadwrite.h"#include "libavutil/mathematics.h"#include "libavutil/mem.h"#include "libavutil/random_seed.h"#include "libavutil/time.h"#include "avformat.h"#include "demux.h"#include "internal.h"#include "network.h"#include "os_support.h"#include "rtpproto.h"#include "rtsp.h"#include "rdt.h"#include "tls.h"#include "url.h"#include "version.h"Go to the source code of this file.
Data Structures | |
| struct | RTSPStatusMessage |
Functions | |
| static int | rtsp_read_close (AVFormatContext *s) |
| static int | read_line (AVFormatContext *s, char *rbuf, const int rbufsize, int *rbuflen) |
| static int | rtsp_send_reply (AVFormatContext *s, enum RTSPStatusCode code, const char *extracontent, uint16_t seq) |
| static int | check_sessionid (AVFormatContext *s, RTSPMessageHeader *request) |
| static int | rtsp_read_request (AVFormatContext *s, RTSPMessageHeader *request, const char *method) |
| static int | rtsp_read_announce (AVFormatContext *s) |
| static int | rtsp_read_options (AVFormatContext *s) |
| static int | rtsp_read_setup (AVFormatContext *s, char *host, char *controlurl) |
| static int | rtsp_read_record (AVFormatContext *s) |
| static int | parse_command_line (AVFormatContext *s, const char *line, int linelen, char *uri, int urisize, char *method, int methodsize, enum RTSPMethod *methodcode) |
| int | ff_rtsp_parse_streaming_commands (AVFormatContext *s) |
| Parse RTSP commands (OPTIONS, PAUSE and TEARDOWN) during streaming in listen mode. | |
| static int | rtsp_read_play (AVFormatContext *s) |
| static int | rtsp_read_pause (AVFormatContext *s) |
| static int | rtsp_read_set_state (AVFormatContext *s, enum FFInputFormatStreamState state) |
| static char * | dict_to_headers (AVDictionary *headers) |
| static int | rtsp_submit_command (struct AVFormatContext *s, enum AVFormatCommandID id, void *data) |
| static int | rtsp_read_command_reply (AVFormatContext *s, enum AVFormatCommandID id, void **data_out) |
| static int | rtsp_handle_command (struct AVFormatContext *s, enum FFInputFormatCommandOption opt, enum AVFormatCommandID id, void *data) |
| int | ff_rtsp_setup_input_streams (AVFormatContext *s, RTSPMessageHeader *reply) |
| Get the description of the stream and set up the RTSPStream child objects. | |
| static int | rtsp_listen (AVFormatContext *s) |
| static int | rtsp_probe (const AVProbeData *p) |
| static int | rtsp_read_header (AVFormatContext *s) |
| int | ff_rtsp_tcp_read_packet (AVFormatContext *s, RTSPStream **prtsp_st, uint8_t *buf, int buf_size) |
| Receive one RTP packet from an TCP interleaved RTSP stream. | |
| static int | resetup_tcp (AVFormatContext *s) |
| static int | rtsp_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | rtsp_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
Variables | |
| static const struct RTSPStatusMessage | status_messages [] |
| static const AVClass | rtsp_demuxer_class |
| const FFInputFormat | ff_rtsp_demuxer |
|
static |
Definition at line 62 of file rtspdec.c.
Referenced by rtsp_read_header().
|
inlinestatic |
Definition at line 77 of file rtspdec.c.
Referenced by ff_rtsp_parse_streaming_commands(), rtsp_listen(), and rtsp_read_request().
|
static |
Definition at line 102 of file rtspdec.c.
Referenced by check_sessionid(), ff_rtsp_parse_streaming_commands(), rtsp_read_announce(), rtsp_read_options(), rtsp_read_record(), and rtsp_read_setup().
|
inlinestatic |
Definition at line 129 of file rtspdec.c.
Referenced by rtsp_read_record(), and rtsp_read_request().
|
inlinestatic |
Definition at line 147 of file rtspdec.c.
Referenced by ff_rtsp_parse_streaming_commands(), rtsp_read_announce(), rtsp_read_options(), rtsp_read_record(), and rtsp_read_setup().
|
static |
Definition at line 177 of file rtspdec.c.
Referenced by rtsp_listen().
|
static |
Definition at line 224 of file rtspdec.c.
Referenced by rtsp_listen().
|
static |
Definition at line 242 of file rtspdec.c.
Referenced by rtsp_listen().
|
static |
Definition at line 361 of file rtspdec.c.
Referenced by rtsp_listen().
|
inlinestatic |
Definition at line 383 of file rtspdec.c.
Referenced by ff_rtsp_parse_streaming_commands(), and rtsp_listen().
| int ff_rtsp_parse_streaming_commands | ( | AVFormatContext * | s | ) |
|
static |
Definition at line 527 of file rtspdec.c.
Referenced by rtsp_read_header(), rtsp_read_packet(), rtsp_read_seek(), and rtsp_read_set_state().
|
static |
Definition at line 598 of file rtspdec.c.
Referenced by rtsp_read_packet(), rtsp_read_seek(), and rtsp_read_set_state().
|
static |
|
static |
Definition at line 628 of file rtspdec.c.
Referenced by rtsp_submit_command().
|
static |
Definition at line 643 of file rtspdec.c.
Referenced by rtsp_handle_command().
|
static |
Definition at line 670 of file rtspdec.c.
Referenced by rtsp_handle_command().
|
static |
| int ff_rtsp_setup_input_streams | ( | AVFormatContext * | s, |
| RTSPMessageHeader * | reply ) |
Get the description of the stream and set up the RTSPStream child objects.
The Require: attribute is needed for proper streaming from Realmedia servers.
|
static |
Definition at line 758 of file rtspdec.c.
Referenced by rtsp_read_header().
|
static |
|
static |
| int ff_rtsp_tcp_read_packet | ( | AVFormatContext * | s, |
| RTSPStream ** | prtsp_st, | ||
| uint8_t * | buf, | ||
| int | buf_size ) |
|
static |
Definition at line 943 of file rtspdec.c.
Referenced by rtsp_read_packet().
|
static |
|
static |
|
static |
Referenced by rtsp_send_reply().
|
static |
| const FFInputFormat ff_rtsp_demuxer |