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 /main | |
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 'main')
-rw-r--r-- | main/bridge.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/bridge.c b/main/bridge.c index 1109c4b76..93c53dd15 100644 --- a/main/bridge.c +++ b/main/bridge.c @@ -3850,6 +3850,13 @@ void ast_bridge_set_video_update_discard(struct ast_bridge *bridge, unsigned int ast_bridge_unlock(bridge); } +void ast_bridge_set_remb_send_interval(struct ast_bridge *bridge, unsigned int remb_send_interval) +{ + ast_bridge_lock(bridge); + bridge->softmix.video_mode.remb_send_interval = remb_send_interval; + ast_bridge_unlock(bridge); +} + void ast_bridge_update_talker_src_video_mode(struct ast_bridge *bridge, struct ast_channel *chan, int talker_energy, int is_keyframe) { struct ast_bridge_video_talker_src_data *data; |