mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Merge in the bridge_construction branch to make the system use the Bridging API.
Breaks many things until they can be reworked. A partial list: chan_agent chan_dahdi, chan_misdn, chan_iax2 native bridging app_queue COLP updates DTMF attended transfers Protocol attended transfers git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -246,6 +246,14 @@ void ast_jb_destroy(struct ast_channel *chan);
|
||||
*/
|
||||
int ast_jb_read_conf(struct ast_jb_conf *conf, const char *varname, const char *value);
|
||||
|
||||
/*!
|
||||
* \since 12.0
|
||||
* \brief Sets a jitterbuffer frame hook on the channel based on the channel's stored
|
||||
* jitterbuffer configuration
|
||||
*
|
||||
* \param chan Which channel is being set up
|
||||
*/
|
||||
void ast_jb_enable_for_channel(struct ast_channel *chan);
|
||||
|
||||
/*!
|
||||
* \brief Configures a jitterbuffer on a channel.
|
||||
@@ -257,7 +265,6 @@ int ast_jb_read_conf(struct ast_jb_conf *conf, const char *varname, const char *
|
||||
*/
|
||||
void ast_jb_configure(struct ast_channel *chan, const struct ast_jb_conf *conf);
|
||||
|
||||
|
||||
/*!
|
||||
* \brief Copies a channel's jitterbuffer configuration.
|
||||
* \param chan channel.
|
||||
@@ -274,6 +281,25 @@ void ast_jb_empty_and_reset(struct ast_channel *c0, struct ast_channel *c1);
|
||||
|
||||
const struct ast_jb_impl *ast_jb_get_impl(enum ast_jb_type type);
|
||||
|
||||
/*!
|
||||
* \since 12
|
||||
* \brief Sets the contents of an ast_jb_conf struct to the default jitterbuffer settings
|
||||
*
|
||||
* \param conf Which jitterbuffer is being set
|
||||
*/
|
||||
void ast_jb_conf_default(struct ast_jb_conf *conf);
|
||||
|
||||
/*!
|
||||
* \since 12
|
||||
* \brief Applies a jitterbuffer framehook to a channel based on a provided jitterbuffer config
|
||||
*
|
||||
* \param chan Which channel the jitterbuffer is being set on
|
||||
* \param jb_conf Configuration to use for the jitterbuffer
|
||||
* \param prefer_existing If this is true and a jitterbuffer already exists for the channel,
|
||||
* use the existing jitterbuffer
|
||||
*/
|
||||
void ast_jb_create_framehook(struct ast_channel *chan, struct ast_jb_conf *jb_conf, int prefer_existing);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user