RTP context enable flags.
Enumerator |
---|
RCE_NO_FLAGS | Use this if you have no RCE flags.
|
RCE_SEND_ONLY | address/port interpreted as remote, no binding to local socket
|
RCE_RECEIVE_ONLY | address/port interpreted as local, sending not possible
|
RCE_SRTP | Use SRTP for this connection
|
RCE_SRTP_KMNGMNT_ZRTP | Use ZRTP for key management
If this flag is provided, before the session starts, ZRTP will negotiate keys with the remote participants and these keys are used as salting/keying material for the session.
This flag must be coupled with RCE_SRTP and is mutually exclusive with RCE_SRTP_KMNGMNT_USER.
|
RCE_SRTP_KMNGMNT_USER | Use user-defined way to manage keys
If this flag is provided, before the media transportation starts, user must provide a master key and salt form which SRTP session keys are derived
This flag must be coupled with RCE_SRTP and is mutually exclusive with RCE_SRTP_KMNGMNT_ZRTP
|
RCE_NO_H26X_PREPEND_SC | By default, uvgRTP restores the stream by prepending 3 or 4 byte start code to each received H26x frame, so there is no difference with sender input. You can remove start code prefix with this flag
|
RCE_H26X_DEPENDENCY_ENFORCEMENT | Use this flag to discard inter frames that don't have their previous dependencies arrived. Does not work if the dependencies are not in monotonic order.
|
RCE_FRAGMENT_GENERIC | Fragment frames into RTP packets of MTU size (1492 bytes).
Some RTP profiles define fragmentation by setting the marker bit indicating the last fragment of the frame. You can enable this functionality using this flag at both sender and receiver.
|
RCE_SYSTEM_CALL_CLUSTERING | Enable System Call Clustering (SCC). Sender side flag.
The benefit of SCC is reduced CPU usage at the sender, but its cost is increased chance of losing frames at the receiving end due to too many packets arriving at once.
|
RCE_SRTP_NULL_CIPHER | Disable RTP payload encryption
|
RCE_SRTP_AUTHENTICATE_RTP | Enable RTP packet authentication
This flag forces the security layer to add authentication tag to each outgoing RTP packet for all streams that have SRTP enabled.
NOTE: this flag must be coupled with at least RCE_SRTP
|
RCE_SRTP_REPLAY_PROTECTION | Enable packet replay protection
|
RCE_RTCP | Enable RTCP for the media stream. If SRTP is enabled, SRTCP is used instead
|
RCE_HOLEPUNCH_KEEPALIVE | If the Mediastream object is used as a unidirectional stream but holepunching has been enabled, this flag can be used to make uvgRTP periodically send a short UDP datagram to keep the hole in the firewall open
|
RCE_SRTP_KEYSIZE_192 | Use 192-bit keys with SRTP, only user key management is supported
|
RCE_SRTP_KEYSIZE_256 | Use 256-bit keys with SRTP, only user key management is supported
|
RCE_ZRTP_DIFFIE_HELLMAN_MODE | Select which ZRTP stream performs the Diffie-Hellman exchange (default)
|
RCE_ZRTP_MULTISTREAM_MODE | Select which ZRTP stream does not perform Diffie-Hellman exchange
|
RCE_FRAME_RATE | Force uvgRTP to send packets at certain framerate (default 30 fps)
|
RCE_PACE_FRAGMENT_SENDING | Paces the sending of frame fragments within frame interval (default 1/30 s)
|
RCE_RTCP_MUX | Use a single UDP port for both RTP and RTCP transmission (default RTCP port is +1)
|