From 0abc9efadc86737345690e63886f31880286a5ee Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 9 Sep 2014 11:08:40 +0200 Subject: [PATCH] Define adaptive rate control getter/setter in LinphoneCore.java interface too --- java/common/org/linphone/core/LinphoneCore.java | 12 ++++++++++++ mediastreamer2 | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/java/common/org/linphone/core/LinphoneCore.java b/java/common/org/linphone/core/LinphoneCore.java index 1df06e56d..9454b373d 100644 --- a/java/common/org/linphone/core/LinphoneCore.java +++ b/java/common/org/linphone/core/LinphoneCore.java @@ -759,6 +759,18 @@ public interface LinphoneCore { */ boolean isAdaptiveRateControlEnabled(); + /** + * Sets adaptive rate algorithm. It will be used for each new calls + * starting from now. Calls already started will not be updated. + */ + void setAdaptiveRateAlgorithm(AdaptiveRateAlgorithm alg); + + /** + * Returns which adaptive rate algorithm is currently configured for + * future calls. + */ + AdaptiveRateAlgorithm getAdaptiveRateAlgorithm(); + /** * Enables or disable echo cancellation. * @param enable diff --git a/mediastreamer2 b/mediastreamer2 index 2b893e460..a762948dd 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 2b893e460104f1fd92e3b7253c51d3218e1c0bb1 +Subproject commit a762948dd3e9668d071658557418db571f71c0aa