Go to the source code of this file.
|
static AVDictionary * | map_to_opts (RTSPState *rt) |
|
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. More...
|
|
static int | get_sockaddr (const char *buf, struct sockaddr_storage *sock) |
|
void | ff_rtsp_undo_setup (AVFormatContext *s, int send_packets) |
| Undo the effect of ff_rtsp_make_setup_request, close the transport_priv and rtp_handle fields. More...
|
|
void | ff_rtsp_close_streams (AVFormatContext *s) |
| Close and free all streams within the RTSP (de)muxer. More...
|
|
int | ff_rtsp_open_transport_ctx (AVFormatContext *s, RTSPStream *rtsp_st) |
| Open RTSP transport context. More...
|
|
#define POLL_TIMEOUT_MS 100 |
#define READ_PACKET_TIMEOUT_S 10 |
#define SDP_MAX_SIZE 16384 |
#define DEFAULT_REORDERING_DELAY 100000 |
#define RTSP_FLAG_OPTS |
( |
|
name, |
|
|
|
longname |
|
) |
| |
Value:
#define RTSP_FLAG_FILTER_SRC
Filter incoming UDP packets - receive packets only from the right source address and port...
Definition at line 66 of file rtsp.c.
#define RTSP_MEDIATYPE_OPTS |
( |
|
name, |
|
|
|
longname |
|
) |
| |
Value:
Opaque data information usually continuous.
Definition at line 70 of file rtsp.c.
Value:{
"reorder_queue_size",
"set number of packets to buffer for handling of reordered packets",
OFFSET(reordering_queue_size),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX,
DEC }, \
{
"buffer_size",
"Underlying protocol send/receive buffer size",
OFFSET(buffer_size),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX,
DEC|
ENC } \
Definition at line 77 of file rtsp.c.
static void get_word_until_chars |
( |
char * |
buf, |
|
|
int |
buf_size, |
|
|
const char * |
sep, |
|
|
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 |
( |
char * |
buf, |
|
|
int |
buf_size, |
|
|
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 165 of file rtsp.c.
Initial value:= {
{
"initial_pause",
"do not start playing the stream immediately",
OFFSET(initial_pause),
AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1,
DEC },
{
"rtsp_transport",
"set RTSP transport protocols",
OFFSET(lower_transport_mask),
AV_OPT_TYPE_FLAGS, {.i64 = 0}, INT_MIN, INT_MAX,
DEC|
ENC,
"rtsp_transport" },
{
"prefer_tcp",
"try RTP via TCP first, if available", 0,
AV_OPT_TYPE_CONST, {.i64 =
RTSP_FLAG_PREFER_TCP}, 0, 0,
DEC|
ENC,
"rtsp_flags" },
{
"timeout",
"set maximum timeout (in seconds) to wait for incoming connections (-1 is infinite, imply flag listen)",
OFFSET(initial_timeout),
AV_OPT_TYPE_INT, {.i64 = -1}, INT_MIN, INT_MAX,
DEC },
{
"stimeout",
"set timeout (in microseconds) of socket TCP I/O operations",
OFFSET(stimeout),
AV_OPT_TYPE_INT, {.i64 = 0}, INT_MIN, INT_MAX,
DEC },
}
#define RTSP_RTP_PORT_MAX
#define RTSP_FLAG_LISTEN
Wait for incoming connections.
#define RTSP_FLAG_PREFER_TCP
Try RTP via TCP first if possible.
Private data for the RTSP demuxer.
HTTP tunneled - not a proper transport mode as such, only for use via AVOptions.
#define FF_RTP_FLAG_OPTS(ctx, fieldname)
#define RTSP_FLAG_OPTS(name, longname)
#define RTSP_MEDIATYPE_OPTS(name, longname)
TCP; interleaved in RTSP.
#define RTSP_RTP_PORT_MIN
Definition at line 82 of file rtsp.c.
Initial value:= {
}
#define RTSP_FLAG_RTCP_TO_SOURCE
Send RTCP packets to the source address of received packets.
#define RTSP_FLAG_CUSTOM_IO
Do all IO via the AVIOContext.
#define RTSP_FLAG_OPTS(name, longname)
#define RTSP_MEDIATYPE_OPTS(name, longname)
Definition at line 103 of file rtsp.c.
Initial value:= {
}
#define RTSP_FLAG_OPTS(name, longname)
Definition at line 112 of file rtsp.c.