|
FFmpeg
|
#include "config_components.h"#include "libavutil/avassert.h"#include "libavutil/base64.h"#include "libavutil/bprint.h"#include "libavutil/avstring.h"#include "libavutil/intreadwrite.h"#include "libavutil/mathematics.h"#include "libavutil/mem.h"#include "libavutil/parseutils.h"#include "libavutil/random_seed.h"#include "libavutil/dict.h"#include "libavutil/opt.h"#include "libavutil/time.h"#include "libavcodec/codec_desc.h"#include "avformat.h"#include "avio_internal.h"#include "demux.h"#include "internal.h"#include "network.h"#include "os_support.h"#include "http.h"#include "rtsp.h"#include "rtpdec.h"#include "rtpproto.h"#include "rdt.h"#include "rtpdec_formats.h"#include "rtpenc_chain.h"#include "url.h"#include "tls.h"#include "rtpenc.h"#include "mpegts.h"#include "version.h"Go to the source code of this file.
Macros | |
| #define | READ_PACKET_TIMEOUT_S 10 |
| #define | RECVBUF_SIZE 10 * RTP_MAX_PACKET_LENGTH |
| #define | DEFAULT_REORDERING_DELAY 100000 |
| #define | OFFSET(x) |
| #define | DEC AV_OPT_FLAG_DECODING_PARAM |
| #define | ENC AV_OPT_FLAG_ENCODING_PARAM |
| #define | RTSP_FLAG_OPTS(name, longname) |
| #define | RTSP_MEDIATYPE_OPTS(name, longname) |
| #define | COMMON_OPTS() |
| #define | ERR_RET(c) |
Functions | |
| static AVDictionary * | map_to_opts (RTSPState *rt) |
| static int | copy_tls_opts_dict (RTSPState *rt, AVDictionary **dict) |
| Add the TLS options of the given RTSPState to the dict. | |
| 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 (AVFormatContext *s, 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. | |
| void | ff_rtsp_close_streams (AVFormatContext *s) |
| Close and free all streams within the RTSP (de)muxer. | |
| int | ff_rtsp_open_transport_ctx (AVFormatContext *s, RTSPStream *rtsp_st) |
| Open RTSP transport context. | |
Variables | |
| const AVOption | ff_rtsp_options [] |
| static const AVOption | sdp_options [] |
| static const AVOption | rtp_options [] |
| #define RECVBUF_SIZE 10 * RTP_MAX_PACKET_LENGTH |
| #define OFFSET | ( | x | ) |
| #define DEC AV_OPT_FLAG_DECODING_PARAM |
| #define ENC AV_OPT_FLAG_ENCODING_PARAM |
| #define RTSP_FLAG_OPTS | ( | name, | |
| longname ) |
| #define RTSP_MEDIATYPE_OPTS | ( | name, | |
| longname ) |
| #define COMMON_OPTS | ( | ) |
| #define ERR_RET | ( | c | ) |
Definition at line 146 of file rtsp.c.
Referenced by copy_tls_opts_dict().
|
static |
|
static |
|
static |
Definition at line 169 of file rtsp.c.
Referenced by get_word(), and get_word_sep().
|
static |
Definition at line 188 of file rtsp.c.
Referenced by rtsp_parse_range_npt().
|
static |
|
static |
| 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.
Definition at line 800 of file rtsp.c.
Referenced by ff_rtsp_close_streams(), resetup_tcp(), and rtsp_write_close().
| void ff_rtsp_close_streams | ( | AVFormatContext * | s | ) |
Close and free all streams within the RTSP (de)muxer.
| s | RTSP (de)muxer context |
Definition at line 833 of file rtsp.c.
Referenced by rtsp_listen(), rtsp_read_close(), rtsp_write_close(), and rtsp_write_header().
| int ff_rtsp_open_transport_ctx | ( | AVFormatContext * | s, |
| RTSPStream * | rtsp_st ) |
Open RTSP transport context.
Definition at line 869 of file rtsp.c.
Referenced by rtsp_read_setup().
| const AVOption ff_rtsp_options[] |
Definition at line 87 of file rtsp.c.
Referenced by ff_rtsp_make_setup_request().
|
static |
|
static |