class Properties extends PropertyChangeNotifier
DtlsControlImpl
which it shares with
DtlsTransformEngine
and DtlsPacketTransformer
i.e. assigning
a value to a DtlsControlImpl
property triggers assignments to the
respective properties of DtlsTransformEngine
and
DtlsPacketTransfomer
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTOR_PNAME
The RTPConnector which uses the TransformEngine of this
SrtpControl.
|
static java.lang.String |
MEDIA_TYPE_PNAME |
static java.lang.String |
RTCPMUX_PNAME
Whether rtcp-mux is in use.
|
static java.lang.String |
SETUP_PNAME
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 acts as a DTLS client
or a DTLS server.
|
Constructor and Description |
---|
Properties(boolean srtpDisabled)
Initializes a new
Properties instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String name)
Gets the value of the property with a specific name.
|
DtlsControl.Setup |
getSetup()
Gets 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 acts as a DTLS client
or a DTLS server.
|
boolean |
isSrtpDisabled()
Indicates if SRTP extensions are disabled which means we're working in
pure DTLS mode.
|
void |
put(java.lang.String name,
java.lang.Object value)
Sets the value of the property with a specific name.
|
addPropertyChangeListener, firePropertyChange, getPropertyChangeSource, removePropertyChangeListener
public static final java.lang.String CONNECTOR_PNAME
public static final java.lang.String MEDIA_TYPE_PNAME
public static final java.lang.String RTCPMUX_PNAME
public static final java.lang.String SETUP_PNAME
public Properties(boolean srtpDisabled)
Properties
instance.srtpDisabled
- true
to specify pure DTLS without SRTP
extensions or false
to specify DTLS/SRTP.public java.lang.Object get(java.lang.String name)
name
- the name of the property to get the value ofname
public DtlsControl.Setup getSetup()
public boolean isSrtpDisabled()
public void put(java.lang.String name, java.lang.Object value)
name
- the name of the property to set the value ofvalue
- the value to set on the property with the specified
name
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.