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 java.lang.String |
RTP_SAVP |
static java.lang.String |
RTP_SAVPF |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(java.lang.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(java.lang.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(MediaType mediaType)
Starts and enables zrtp in the stream holding this control.
|
static final java.lang.String RTP_SAVP
static final java.lang.String RTP_SAVPF
void cleanup(java.lang.Object user)
user
- the 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(MediaType mediaType)
mediaType
- the media type of the stream this control controls.void registerUser(java.lang.Object user)
user
- the Object
which is currently using this
SrtpControl
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.