diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2015-08-08 10:04:12 +0200 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2015-08-08 10:04:12 +0200 |
commit | 90876aaa33cc8ca339f397f17f891daf7472ce40 (patch) | |
tree | 7d0558f04d0092ce9d2ba93a199eb197ee94c38a /src/net/java/sip/communicator/impl | |
parent | 18bdce0088114bbd8ffe286b88663430017d9f94 (diff) | |
download | jitsi-90876aaa33cc8ca339f397f17f891daf7472ce40.zip jitsi-90876aaa33cc8ca339f397f17f891daf7472ce40.tar.gz jitsi-90876aaa33cc8ca339f397f17f891daf7472ce40.tar.bz2 |
Don't duplicate RTP/SAVP profile when both SDES and ZRTP are enabled
Closes #140
Diffstat (limited to 'src/net/java/sip/communicator/impl')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/sip/CallPeerMediaHandlerSipImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/sip/CallPeerMediaHandlerSipImpl.java b/src/net/java/sip/communicator/impl/protocol/sip/CallPeerMediaHandlerSipImpl.java index 7ebbe50..c4193a5 100644 --- a/src/net/java/sip/communicator/impl/protocol/sip/CallPeerMediaHandlerSipImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/sip/CallPeerMediaHandlerSipImpl.java @@ -1325,7 +1325,7 @@ public class CallPeerMediaHandlerSipImpl String proto = protos[pi]; int ri = result.indexOf(proto); - if (ri > 0) + if (ri >= 0) result.remove(ri); result.add(0, proto); } |