Class NullSrtpControl
- java.lang.Object
-
- org.jitsi.service.neomedia.AbstractSrtpControl<SrtpControl.TransformEngine>
-
- org.jitsi.impl.neomedia.transform.NullSrtpControl
-
- All Implemented Interfaces:
SrtpControl
public class NullSrtpControl extends AbstractSrtpControl<SrtpControl.TransformEngine>
Implements a no-opSrtpControl, i.e. one which does not perform SRTP and does not have a transform engine.- Author:
- Boris Grozev
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jitsi.service.neomedia.SrtpControl
SrtpControl.TransformEngine
-
-
Field Summary
-
Fields inherited from class org.jitsi.service.neomedia.AbstractSrtpControl
transformEngine
-
Fields inherited from interface org.jitsi.service.neomedia.SrtpControl
RTP_SAVP, RTP_SAVPF
-
-
Constructor Summary
Constructors Constructor Description NullSrtpControl()Initializes a newNullSrtpControlinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SrtpControl.TransformEnginecreateTransformEngine()Initializes a new TransformEngine instance to be associated with and used by this SrtpControl instance.booleangetSecureCommunicationStatus()Gets the default secure/insecure communication status for the supported call sessions.booleanrequiresSecureSignalingTransport()Indicates if the key exchange method is dependent on secure transport of the signaling channel.voidsetConnector(AbstractRTPConnector connector)Sets the RTPConnector which is to use or uses this SRTP engine.voidstart(org.jitsi.utils.MediaType mediaType)Starts and enables zrtp in the stream holding this control.-
Methods inherited from class org.jitsi.service.neomedia.AbstractSrtpControl
cleanup, doCleanup, getSrtpControlType, getSrtpListener, getTransformEngine, registerUser, setMasterSession, setMultistream, setSrtpListener
-
-
-
-
Constructor Detail
-
NullSrtpControl
public NullSrtpControl()
Initializes a newNullSrtpControlinstance.
-
-
Method Detail
-
getSecureCommunicationStatus
public boolean getSecureCommunicationStatus()
Gets the default secure/insecure communication status for the supported call sessions.- Returns:
- default secure communication status for the supported call sessions.
-
requiresSecureSignalingTransport
public boolean requiresSecureSignalingTransport()
Indicates if the key exchange method is dependent on secure transport of the signaling channel.- Returns:
- true when secure signaling is required to make the encryption secure; false, otherwise.
-
setConnector
public void setConnector(AbstractRTPConnector connector)
Sets the RTPConnector which is to use or uses this SRTP engine.- Parameters:
connector- the RTPConnector which is to use or uses this SRTP engine
-
start
public void start(org.jitsi.utils.MediaType mediaType)
Starts and enables zrtp in the stream holding this control.- Parameters:
mediaType- the media type of the stream this control controls.
-
createTransformEngine
protected SrtpControl.TransformEngine createTransformEngine()
Initializes a new TransformEngine instance to be associated with and used by this SrtpControl instance.- Specified by:
createTransformEnginein classAbstractSrtpControl<SrtpControl.TransformEngine>- Returns:
- a new TransformEngine instance to be associated with and used by this SrtpControl instance
-
-