129 if (strcasecmp(data,
"fixed") &&
130 strcasecmp(data,
"adaptive") &&
131 strcasecmp(data,
"disabled")) {
132 ast_log(
LOG_WARNING,
"Unknown Jitterbuffer type %s. Failed to create jitterbuffer.\n", data);
157 args.resync_threshold);
181 .
name =
"JITTERBUFFER",
Main Channel structure associated with a channel.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
void ast_jb_create_framehook(struct ast_channel *chan, struct ast_jb_conf *jb_conf, int prefer_existing)
Applies a jitterbuffer framehook to a channel based on a provided jitterbuffer config.
#define AST_STANDARD_APP_ARGS(args, parse)
Performs the 'standard' argument separation process for an application.
static int unload_module(void)
static int jb_helper(struct ast_channel *chan, const char *cmd, char *data, const char *value)
int ast_jb_read_conf(struct ast_jb_conf *conf, const char *varname, const char *value)
Sets jitterbuffer configuration property.
static int load_module(void)
Common implementation-independent jitterbuffer stuff.
int ast_custom_function_unregister(struct ast_custom_function *acf)
Unregister a custom function.
#define ast_strlen_zero(foo)
void ast_jb_conf_default(struct ast_jb_conf *conf)
Sets the contents of an ast_jb_conf struct to the default jitterbuffer settings.
long resync_threshold
Resynchronization threshold of the jitterbuffer implementation.
General Asterisk PBX channel definitions.
Data structure associated with a custom dialplan function.
Asterisk internal frame definitions.
#define ast_strdupa(s)
duplicate a string in memory from the stack
long target_extra
amount of additional jitterbuffer adjustment
char impl[AST_JB_IMPL_NAME_SIZE]
Name of the jitterbuffer implementation to be used.
Core PBX routines and definitions.
static void parse(struct mgcp_request *req)
Module has failed to load, may be in an inconsistent state.
void ast_copy_string(char *dst, const char *src, size_t size)
Size-limited null-terminating string copy.
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
long max_size
Max size of the jitterbuffer implementation.
#define AST_DECLARE_APP_ARGS(name, arglist)
Declare a structure to hold an application's arguments.
Application convenience functions, designed to give consistent look and feel to Asterisk apps...
General jitterbuffer configuration.
#define ast_custom_function_register(acf)
Register a custom function.
Timing source management.
#define AST_APP_ARG(name)
Define an application argument.
static struct ast_custom_function jb_function