aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/protocol/media/CallPeerMediaHandler.java
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2013-10-08 09:00:57 +0300
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2013-10-10 08:22:08 +0300
commitba4e6875f972f55e6819d8a1fcf1d598a36fc0c3 (patch)
tree25c93e76a4a865278d0a492ebac19cf058ca845c /src/net/java/sip/communicator/service/protocol/media/CallPeerMediaHandler.java
parent9eec6e2305c98494c4b508c299a51f9b69917f61 (diff)
downloadjitsi-ba4e6875f972f55e6819d8a1fcf1d598a36fc0c3.zip
jitsi-ba4e6875f972f55e6819d8a1fcf1d598a36fc0c3.tar.gz
jitsi-ba4e6875f972f55e6819d8a1fcf1d598a36fc0c3.tar.bz2
Adds support for DTLS-SRTP with XMPP.
Diffstat (limited to 'src/net/java/sip/communicator/service/protocol/media/CallPeerMediaHandler.java')
-rw-r--r--src/net/java/sip/communicator/service/protocol/media/CallPeerMediaHandler.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/media/CallPeerMediaHandler.java b/src/net/java/sip/communicator/service/protocol/media/CallPeerMediaHandler.java
index 9780393..b256fe8 100644
--- a/src/net/java/sip/communicator/service/protocol/media/CallPeerMediaHandler.java
+++ b/src/net/java/sip/communicator/service/protocol/media/CallPeerMediaHandler.java
@@ -1443,6 +1443,17 @@ public abstract class CallPeerMediaHandler<T extends MediaAwareCallPeer<?,?,?>>
return mediaHandler.processKeyFrameRequest(this);
}
+ /**
+ * Removes from this instance and cleans up the <tt>SrtpControl</tt> which
+ * are not of a specific <tt>SrtpControlType</tt>.
+ *
+ * @param mediaType the <tt>MediaType</tt> of the <tt>SrtpControl</tt> to be
+ * examined
+ * @param srtpControlType the <tt>SrtpControlType</tt> of the
+ * <tt>SrtpControl</tt>s to not be removed from this instance and cleaned
+ * up. If <tt>null</tt>, all <tt>SrtpControl</tt>s are removed from this
+ * instance and cleaned up
+ */
protected void removeAndCleanupOtherSrtpControls(
MediaType mediaType,
SrtpControlType srtpControlType)