pjmedia_srtp_setting class final
Settings to be given when creating SRTP transport. Application should call #pjmedia_srtp_setting_default() to initialize this structure with its default values.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - cb ↔ pjmedia_srtp_cb
-
Specify SRTP callback.
getter/setter pair
- close_member_tp ↔ int
-
Specify whether the SRTP transport should close the member transport
when it is destroyed. Default: PJ_TRUE.
getter/setter pair
-
crypto
↔ Array<
pjmedia_srtp_crypto> -
Specify individual crypto suite setting and its priority order.
getter/setter pair
- crypto_count ↔ int
-
Specify the number of crypto suite settings. If set to zero, all
available cryptos will be enabled. Default: zero.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keying
↔ Array<
Int32> -
Specify enabled keying methods and its priority order. Keying method
with higher priority will be given earlier chance to process the SDP,
for example as currently only one keying is supported in the SDP offer,
keying with first priority will be likely used in the SDP offer.
getter/setter pair
- keying_count ↔ int
-
Specify the number of enabled keying methods. If set to zero, all
keyings will be enabled. Maximum value is PJMEDIA_SRTP_MAX_KEYINGS.
getter/setter pair
- prev_rx_roc ↔ pjmedia_srtp_roc
-
The previous value of RTP sequence rollover counter. This is
useful in situations when we expect the remote to reset/maintain
ROC but for some reason, they don't. Thus, when we encounter
SRTP packet unprotect failure during probation, we will retry to
unprotect with this ROC value as well.
Set prev_rx_roc.ssrc to 0 to disable this feature.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- rx_roc ↔ pjmedia_srtp_roc
-
RTP sequence rollover counter initialization value for incoming
direction. This is useful to maintain ROC after media transport
recreation such as in IP change scenario.
getter/setter pair
- tx_roc ↔ pjmedia_srtp_roc
-
RTP sequence rollover counter initialization value for outgoing
direction. This is useful to maintain ROC after media transport
recreation such as in IP change scenario.
getter/setter pair
- use ↔ int
-
Specify the usage policy. Default is PJMEDIA_SRTP_OPTIONAL.
getter/setter pair
-
user_data
↔ Pointer<
Void> -
Specify SRTP transport user data.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited