FFmpeg
|
srtpproto.c File Reference
#include "libavutil/opt.h"
#include "avformat.h"
#include "avio_internal.h"
#include "url.h"
#include "internal.h"
#include "rtpdec.h"
#include "srtp.h"
Include dependency graph for srtpproto.c:
Go to the source code of this file.
Data Structures | |
struct | SRTPProtoContext |
Macros | |
#define | D AV_OPT_FLAG_DECODING_PARAM |
#define | E AV_OPT_FLAG_ENCODING_PARAM |
Typedefs | |
typedef struct SRTPProtoContext | SRTPProtoContext |
Functions | |
static int | srtp_close (URLContext *h) |
static int | srtp_open (URLContext *h, const char *uri, int flags) |
static int | srtp_read (URLContext *h, uint8_t *buf, int size) |
static int | srtp_write (URLContext *h, const uint8_t *buf, int size) |
static int | srtp_get_file_handle (URLContext *h) |
static int | srtp_get_multi_file_handle (URLContext *h, int **handles, int *numhandles) |
Variables | |
static const AVOption | options [] |
static const AVClass | srtp_context_class |
URLProtocol | ff_srtp_protocol |
Macro Definition Documentation
#define D AV_OPT_FLAG_DECODING_PARAM |
Definition at line 40 of file srtpproto.c.
#define E AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 41 of file srtpproto.c.
Typedef Documentation
typedef struct SRTPProtoContext SRTPProtoContext |
Function Documentation
|
static |
Definition at line 57 of file srtpproto.c.
Referenced by srtp_open().
|
static |
Definition at line 121 of file srtpproto.c.
|
static |
Definition at line 127 of file srtpproto.c.
|
static |
Definition at line 67 of file srtpproto.c.
|
static |
Definition at line 96 of file srtpproto.c.
|
static |
Definition at line 109 of file srtpproto.c.
Variable Documentation
URLProtocol ff_srtp_protocol |
Initial value:
= {
.name = "srtp",
.url_open = srtp_open,
.url_read = srtp_read,
.url_write = srtp_write,
.url_close = srtp_close,
.url_get_file_handle = srtp_get_file_handle,
.url_get_multi_file_handle = srtp_get_multi_file_handle,
.priv_data_size = sizeof(SRTPProtoContext),
.priv_data_class = &srtp_context_class,
}
struct SRTPProtoContext SRTPProtoContext
static int srtp_write(URLContext *h, const uint8_t *buf, int size)
Definition: srtpproto.c:109
static int srtp_get_multi_file_handle(URLContext *h, int **handles, int *numhandles)
Definition: srtpproto.c:127
Definition at line 134 of file srtpproto.c.
|
static |
Initial value:
= {
{ "srtp_out_suite", "", offsetof(SRTPProtoContext, out_suite), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
{ "srtp_out_params", "", offsetof(SRTPProtoContext, out_params), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
{ "srtp_in_suite", "", offsetof(SRTPProtoContext, in_suite), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
{ "srtp_in_params", "", offsetof(SRTPProtoContext, in_params), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
{ NULL }
}
Definition: srtpproto.c:31
Definition: opt.h:226
Definition at line 42 of file srtpproto.c.
|
static |
Initial value:
= {
.class_name = "srtp",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
}
Definition at line 50 of file srtpproto.c.
Generated on Fri Dec 20 2024 06:56:15 for FFmpeg by 1.8.11