Go to the source code of this file.
#define DEFAULT_ICE_USER "source" |
#define NOT_EMPTY |
( |
|
s | ) |
(s && s[0]) |
static void cat_header |
( |
AVBPrint * |
bp, |
|
|
const char |
key[], |
|
|
const char |
value[] |
|
) |
| |
|
static |
static int icecast_open |
( |
URLContext * |
h, |
|
|
const char * |
uri, |
|
|
int |
flags |
|
) |
| |
|
static |
Initial value:= {
{
"content_type",
"set content-type, MUST be set if not audio/mpeg",
OFFSET(content_type),
AV_OPT_TYPE_STRING, { 0 }, 0, 0,
E },
{
"legacy_icecast",
"use legacy SOURCE method, for Icecast < v2.4",
OFFSET(legacy_icecast),
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1,
E },
}
Definition at line 55 of file icecast.c.
const AVClass icecast_context_class |
|
static |
Initial value:= {
.class_name = "icecast",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 204 of file icecast.c.
Initial value:= {
.name = "icecast",
}
static int icecast_open(URLContext *h, const char *uri, int flags)
#define URL_PROTOCOL_FLAG_NETWORK
static int icecast_write(URLContext *h, const uint8_t *buf, int size)
static int icecast_close(URLContext *h)
static const AVClass icecast_context_class
Definition at line 211 of file icecast.c.