#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/random_seed.h"
#include "libavutil/time.h"
#include "avformat.h"
#include "internal.h"
#include "network.h"
#include "os_support.h"
#include "rtsp.h"
#include "rdt.h"
#include "url.h"
Go to the source code of this file.
static int check_sessionid | ( | AVFormatContext * | s, | |
RTSPMessageHeader * | request | |||
) | [inline, static] |
Definition at line 121 of file rtspdec.c.
Referenced by rtsp_read_record(), and rtsp_read_request().
int ff_rtsp_parse_streaming_commands | ( | AVFormatContext * | s | ) |
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.
int ff_rtsp_tcp_read_packet | ( | AVFormatContext * | s, | |
RTSPStream ** | prtsp_st, | |||
uint8_t * | buf, | |||
int | buf_size | |||
) |
static int parse_command_line | ( | AVFormatContext * | s, | |
const char * | line, | |||
int | linelen, | |||
char * | uri, | |||
int | urisize, | |||
char * | method, | |||
int | methodsize, | |||
enum RTSPMethod * | methodcode | |||
) | [inline, static] |
Definition at line 354 of file rtspdec.c.
Referenced by ff_rtsp_parse_streaming_commands(), and rtsp_listen().
static int read_line | ( | AVFormatContext * | s, | |
char * | rbuf, | |||
const int | rbufsize, | |||
int * | rbuflen | |||
) | [inline, static] |
static int resetup_tcp | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_listen | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_probe | ( | AVProbeData * | p | ) | [static] |
static int rtsp_read_announce | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_read_close | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_read_header | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_read_options | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int rtsp_read_pause | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_read_play | ( | AVFormatContext * | s | ) | [static] |
Definition at line 492 of file rtspdec.c.
Referenced by rtsp_read_header(), rtsp_read_packet(), and rtsp_read_seek().
static int rtsp_read_record | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_read_request | ( | AVFormatContext * | s, | |
RTSPMessageHeader * | request, | |||
const char * | method | |||
) | [inline, static] |
Definition at line 139 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 int rtsp_read_seek | ( | AVFormatContext * | s, | |
int | stream_index, | |||
int64_t | timestamp, | |||
int | flags | |||
) | [static] |
static int rtsp_read_setup | ( | AVFormatContext * | s, | |
char * | host, | |||
char * | controlurl | |||
) | [static] |
static int rtsp_send_reply | ( | AVFormatContext * | s, | |
enum RTSPStatusCode | code, | |||
const char * | extracontent, | |||
uint16_t | seq | |||
) | [static] |
Definition at line 94 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().
Initial value:
{ .name = "rtsp", .long_name = NULL_IF_CONFIG_SMALL("RTSP input"), .priv_data_size = sizeof(RTSPState), .read_probe = rtsp_probe, .read_header = rtsp_read_header, .read_packet = rtsp_read_packet, .read_close = rtsp_read_close, .read_seek = rtsp_read_seek, .flags = AVFMT_NOFILE, .read_play = rtsp_read_play, .read_pause = rtsp_read_pause, .priv_class = &rtsp_demuxer_class, }
const AVClass rtsp_demuxer_class [static] |
Initial value:
{ .class_name = "RTSP demuxer", .item_name = av_default_item_name, .option = ff_rtsp_options, .version = LIBAVUTIL_VERSION_INT, }
struct RTSPStatusMessage status_messages[] [static] |
Referenced by rtsp_send_reply().