mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 14:51:09 +00:00
Merge "func_jitterbuffer: Add audio/video sync support." into 16
This commit is contained in:
@@ -44,7 +44,8 @@ struct ast_frame;
|
||||
enum {
|
||||
AST_JB_ENABLED = (1 << 0),
|
||||
AST_JB_FORCED = (1 << 1),
|
||||
AST_JB_LOG = (1 << 2)
|
||||
AST_JB_LOG = (1 << 2),
|
||||
AST_JB_SYNC_VIDEO = (1 << 3)
|
||||
};
|
||||
|
||||
enum ast_jb_type {
|
||||
@@ -89,6 +90,7 @@ struct ast_jb_conf
|
||||
#define AST_JB_CONF_TARGET_EXTRA "targetextra"
|
||||
#define AST_JB_CONF_IMPL "impl"
|
||||
#define AST_JB_CONF_LOG "log"
|
||||
#define AST_JB_CONF_SYNC_VIDEO "syncvideo"
|
||||
|
||||
/* Hooks for the abstract jb implementation */
|
||||
/*! \brief Create */
|
||||
|
@@ -2800,6 +2800,17 @@ struct ast_json *ast_rtp_convert_stats_json(const struct ast_rtp_instance_stats
|
||||
*/
|
||||
struct ast_json *ast_rtp_instance_get_stats_all_json(struct ast_rtp_instance *instance);
|
||||
|
||||
/*!
|
||||
* \brief Retrieve the sample rate of a format according to RTP specifications
|
||||
* \since 16.7.0
|
||||
* \since 17.1.0
|
||||
*
|
||||
* \param format The media format
|
||||
*
|
||||
* \retval The sample rate
|
||||
*/
|
||||
int ast_rtp_get_rate(const struct ast_format *format);
|
||||
|
||||
/*!
|
||||
* \since 12
|
||||
* \brief \ref stasis topic for RTP and RTCP related messages
|
||||
|
Reference in New Issue
Block a user