aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Grozev <boris@jitsi.org>2016-03-02 17:05:55 -0600
committerBoris Grozev <boris@jitsi.org>2016-03-02 17:05:55 -0600
commit4f57d6fcd08c1915378dfa60b8b7dbec9880d852 (patch)
tree80d2c40bcb02d279d0998358457a7e42b03590a1 /src
parente2e661ecc1b861e3cec0c2b05276cdd9dbbd8e61 (diff)
downloadjitsi-4f57d6fcd08c1915378dfa60b8b7dbec9880d852.zip
jitsi-4f57d6fcd08c1915378dfa60b8b7dbec9880d852.tar.gz
jitsi-4f57d6fcd08c1915378dfa60b8b7dbec9880d852.tar.bz2
Parses the adaptive-simulcast attribute.
Diffstat (limited to 'src')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/jabber/extensions/colibri/ColibriIQProvider.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/colibri/ColibriIQProvider.java b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/colibri/ColibriIQProvider.java
index 4298b3f..a05f213 100644
--- a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/colibri/ColibriIQProvider.java
+++ b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/colibri/ColibriIQProvider.java
@@ -476,6 +476,18 @@ public class ColibriIQProvider
channel.setAdaptiveLastN(
Boolean.parseBoolean(adaptiveLastN));
+ String adaptiveSimulcast
+ = parser.getAttributeValue(
+ "",
+ ColibriConferenceIQ.Channel
+ .ADAPTIVE_SIMULCAST_ATTR_NAME);
+
+ if (!StringUtils.isNullOrEmpty(adaptiveSimulcast))
+ {
+ channel.setAdaptiveSimulcast(
+ Boolean.parseBoolean(adaptiveSimulcast));
+ }
+
// simulcastMode
String simulcastMode
= parser.getAttributeValue(