app_confbridge / bridge_softmix: Add ability to configure REMB interval.

This change adds a configuration option to app_confbridge which can be
used to set the interval at which we will send a combined REMB (remote
estimated maximum bitrate) frame to sources of video. The bridging API
has also been extended slightly to allow setting this so bridge_softmix
can use it.

ASTERISK-27786

Change-Id: I0e49eae60f369c86434414f3cb8278709c793c82
This commit is contained in:
Joshua Colp
2018-04-02 10:53:17 -03:00
parent edba638a72
commit 0f6431e8e4
6 changed files with 36 additions and 0 deletions

View File

@@ -135,6 +135,7 @@ struct ast_bridge_video_mode {
struct ast_bridge_video_talker_src_data talker_src_data;
} mode_data;
unsigned int video_update_discard;
unsigned int remb_send_interval;
};
/*!
@@ -911,6 +912,14 @@ void ast_bridge_set_sfu_video_mode(struct ast_bridge *bridge);
*/
void ast_bridge_set_video_update_discard(struct ast_bridge *bridge, unsigned int video_update_discard);
/*!
* \brief Set the interval at which a combined REMB frame will be sent to video sources
*
* \param bridge Bridge to set the REMB send interval on
* \param remb_send_interval The REMB send interval
*/
void ast_bridge_set_remb_send_interval(struct ast_bridge *bridge, unsigned int remb_send_interval);
/*!
* \brief Update information about talker energy for talker src video mode.
*/