Go to the source code of this file.
Functions |
static void | get_word_until_chars (char *buf, int buf_size, const char *sep, const char **pp) |
static void | get_word_sep (char *buf, int buf_size, const char *sep, const char **pp) |
static void | get_word (char *buf, int buf_size, const char **pp) |
static void | rtsp_parse_range_npt (const char *p, int64_t *start, int64_t *end) |
| Parse a string p in the form of Range:npt=xx-xx, and determine the start and end time.
|
static int | get_sockaddr (const char *buf, struct sockaddr_storage *sock) |
void | ff_rtsp_undo_setup (AVFormatContext *s) |
| Undo the effect of ff_rtsp_make_setup_request, close the transport_priv and rtp_handle fields.
|
void | ff_rtsp_close_streams (AVFormatContext *s) |
| Close and free all streams within the RTSP (de)muxer.
|
static int | rtsp_open_transport_ctx (AVFormatContext *s, RTSPStream *rtsp_st) |
Macro Definition Documentation
#define POLL_TIMEOUT_MS 100 |
#define READ_PACKET_TIMEOUT_S 10 |
#define RTSP_FLAG_OPTS |
( |
|
name, |
|
|
|
longname |
|
) |
| |
Value:
Definition at line 64 of file rtsp.c.
#define RTSP_MEDIATYPE_OPTS |
( |
|
name, |
|
|
|
longname |
|
) |
| |
Value:
Definition at line 68 of file rtsp.c.
#define SDP_MAX_SIZE 16384 |
Function Documentation
static void get_word |
( |
char * |
buf, |
|
|
int |
buf_size, |
|
|
const char ** |
pp |
|
) |
| |
|
static |
static void get_word_sep |
( |
char * |
buf, |
|
|
int |
buf_size, |
|
|
const char * |
sep, |
|
|
const char ** |
pp |
|
) |
| |
|
static |
static void get_word_until_chars |
( |
char * |
buf, |
|
|
int |
buf_size, |
|
|
const char * |
sep, |
|
|
const char ** |
pp |
|
) |
| |
|
static |
static void rtsp_parse_range_npt |
( |
const char * |
p, |
|
|
int64_t * |
start, |
|
|
int64_t * |
end |
|
) |
| |
|
static |
Parse a string p in the form of Range:npt=xx-xx, and determine the start and end time.
Used for seeking in the rtp stream.
Definition at line 133 of file rtsp.c.
Variable Documentation
Initial value: {
{
"initial_pause",
"Don't start playing the stream immediately",
OFFSET(initial_pause),
AV_OPT_TYPE_INT, {0}, 0, 1,
DEC },
{
"rtsp_transport",
"RTSP transport protocols",
OFFSET(lower_transport_mask),
AV_OPT_TYPE_FLAGS, {0}, INT_MIN, INT_MAX,
DEC|
ENC,
"rtsp_transport" },
}
Definition at line 74 of file rtsp.c.
Initial value:
Definition at line 93 of file rtsp.c.
Initial value:
Definition at line 87 of file rtsp.c.