public interface SrtpControl
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SrtpControl.TransformEngine
Adds a cleanup() method to
org.jitsi.impl.neomedia.transform.TransformEngine which is to go
in hand with the cleanup() method of SrtpControl.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
RTP_SAVP |
static String |
RTP_SAVPF |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(Object user)
Cleans up this SrtpControl and its TransformEngine.
|
boolean |
getSecureCommunicationStatus()
Gets the default secure/insecure communication status for the supported
call sessions.
|
SrtpControlType |
getSrtpControlType()
Gets the SrtpControlType of this instance.
|
SrtpListener |
getSrtpListener()
Returns the SrtpListener which listens for security events.
|
SrtpControl.TransformEngine |
getTransformEngine()
Returns the transform engine currently used by this stream.
|
void |
registerUser(Object user)
Registers user as an instance which is currently using this
SrtpControl.
|
boolean |
requiresSecureSignalingTransport()
Indicates if the key exchange method is dependent on secure transport of
the signaling channel.
|
void |
setConnector(AbstractRTPConnector connector)
Sets the RTPConnector which is to use or uses this SRTP engine.
|
void |
setMasterSession(boolean masterSession)
When in multistream mode, enables the master session.
|
void |
setMultistream(SrtpControl master)
Sets the multistream data, which means that the master stream has
successfully started and this will start all other streams in this
session.
|
void |
setSrtpListener(SrtpListener srtpListener)
Sets a SrtpListener that will listen for security events.
|
void |
start(org.jitsi.utils.MediaType mediaType)
Starts and enables zrtp in the stream holding this control.
|
static final String RTP_SAVP
static final String RTP_SAVPF
void cleanup(Object user)
user - the Object which requests the clean-up and is supposedly
currently using this SrtpControl (i.e. has already used
registerUser(Object)).boolean getSecureCommunicationStatus()
SrtpControlType getSrtpControlType()
SrtpListener getSrtpListener()
SrtpControl.TransformEngine getTransformEngine()
boolean requiresSecureSignalingTransport()
void setConnector(AbstractRTPConnector connector)
connector - the RTPConnector which is to use or uses this
SRTP enginevoid setMasterSession(boolean masterSession)
masterSession - whether current control, controls the master session.void setMultistream(SrtpControl master)
master - The security control of the master stream.void setSrtpListener(SrtpListener srtpListener)
srtpListener - the SrtpListener that will receive the
eventsvoid start(org.jitsi.utils.MediaType mediaType)
mediaType - the media type of the stream this control controls.void registerUser(Object user)
user - the Object which is currently using this
SrtpControlCopyright © 2022 jitsi.org. All rights reserved.