public class DtlsTransformEngine extends java.lang.Object implements SrtpControl.TransformEngine
SrtpControl.TransformEngine
(and, respectively,
TransformEngine
) for DTLS-SRTP.Constructor and Description |
---|
DtlsTransformEngine(DtlsControlImpl dtlsControl)
Initializes a new DtlsTransformEngine instance.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleans up this TransformEngine and prepares it for garbage
collection.
|
protected DtlsPacketTransformer |
createPacketTransformer(int componentID)
Initializes a new DtlsPacketTransformer instance which is to
work on control/RTCP or data/RTP packets.
|
(package private) DtlsControlImpl |
getDtlsControl()
Gets the DtlsControl which has initialized this instance.
|
(package private) Properties |
getProperties()
Gets the properties of
DtlsControlImpl and their values which
dtlsControl shares with this instance and
DtlsPacketTransformer . |
PacketTransformer |
getRTCPTransformer()
Gets the PacketTransformer for RTCP packets.
|
PacketTransformer |
getRTPTransformer()
Gets the PacketTransformer for RTP packets.
|
public DtlsTransformEngine(DtlsControlImpl dtlsControl)
public void cleanup()
cleanup
in interface SrtpControl.TransformEngine
protected DtlsPacketTransformer createPacketTransformer(int componentID)
componentID
- the ID of the component for which the new instance is
to workDtlsControlImpl getDtlsControl()
Properties getProperties()
DtlsControlImpl
and their values which
dtlsControl
shares with this instance and
DtlsPacketTransformer
.DtlsControlImpl
and their values which
dtlsControl
shares with this instance and
DtlsPacketTransformer
public PacketTransformer getRTCPTransformer()
getRTCPTransformer
in interface TransformEngine
public PacketTransformer getRTPTransformer()
getRTPTransformer
in interface TransformEngine
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.