diff options
author | Joshua Colp <jcolp@digium.com> | 2018-04-02 10:53:17 -0300 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2018-04-03 08:13:11 -0600 |
commit | 0f6431e8e4f9678c13f10bc1b45ada932e5f1424 (patch) | |
tree | 9e8f37d2f9667327de96fc1da21f91d3a24bcca3 /include | |
parent | edba638a729e8363a07f373006c250e66f353d82 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/bridge.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/bridge.h b/include/asterisk/bridge.h index 8d5c50211..b23255844 100644 --- a/include/asterisk/bridge.h +++ b/include/asterisk/bridge.h @@ -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; }; /*! @@ -912,6 +913,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. */ void ast_bridge_update_talker_src_video_mode(struct ast_bridge *bridge, struct ast_channel *chan, int talker_energy, int is_keyfame); |