public interface DtlsControl extends SrtpControl
SrtpControl
for DTSL-SRTP.Modifier and Type | Interface and Description |
---|---|
static class |
DtlsControl.Setup
Enumerates the possible values of the setup SDP attribute
defined by RFC 4145 "TCP-Based Media Transport in the Session
Description Protocol (SDP)".
|
SrtpControl.TransformEngine
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UDP_TLS_RTP_SAVP
The transport protocol (i.e.
|
static java.lang.String |
UDP_TLS_RTP_SAVPF
The transport protocol (i.e.
|
RTP_SAVP, RTP_SAVPF
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalFingerprint()
Gets the fingerprint of the local certificate that this instance uses to
authenticate its ends of DTLS sessions.
|
java.lang.String |
getLocalFingerprintHashFunction()
Gets the hash function with which the fingerprint of the local
certificate is computed i.e.
|
void |
setRemoteFingerprints(java.util.Map<java.lang.String,java.lang.String> remoteFingerprints)
Sets the certificate fingerprints presented by the remote endpoint via
the signaling path.
|
void |
setRtcpmux(boolean rtcpmux)
Enables/disables rtcp-mux.
|
void |
setSetup(DtlsControl.Setup setup)
Sets the value of the setup SDP attribute defined by RFC 4145
"TCP-Based Media Transport in the Session Description Protocol
(SDP)" which determines whether this instance is to act as a DTLS
client or a DTLS server.
|
cleanup, getSecureCommunicationStatus, getSrtpControlType, getSrtpListener, getTransformEngine, registerUser, requiresSecureSignalingTransport, setConnector, setMasterSession, setMultistream, setSrtpListener, start
static final java.lang.String UDP_TLS_RTP_SAVP
static final java.lang.String UDP_TLS_RTP_SAVPF
java.lang.String getLocalFingerprint()
java.lang.String getLocalFingerprintHashFunction()
void setRemoteFingerprints(java.util.Map<java.lang.String,java.lang.String> remoteFingerprints)
remoteFingerprints
- a Map of hash functions to certificate
fingerprints that have been presented by the remote endpoint via the
signaling pathvoid setSetup(DtlsControl.Setup setup)
setup
- the value of the setup SDP attribute to set on this
instance in order to determine whether this instance is to act as a DTLS
client or a DTLS servervoid setRtcpmux(boolean rtcpmux)
rtcpmux
- whether to enable or disable.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.