14typedef SSIZE_T ssize_t;
32 RTP_MULTIPLE_PKTS_READY = 6,
35 RTP_PKT_NOT_HANDLED = 3,
403extern thread_local rtp_error_t rtp_errno;
RTP_CTX_ENABLE_FLAGS
RTP context enable flags.
@ RCE_H26X_DEPENDENCY_ENFORCEMENT
@ RCE_NO_FLAGS
Use this if you have no RCE flags.
@ RCE_ZRTP_DIFFIE_HELLMAN_MODE
@ RCE_SEND_ONLY
address/port interpreted as remote, no binding to local socket
@ RCE_SRTP_AUTHENTICATE_RTP
@ RCE_PACE_FRAGMENT_SENDING
@ RCE_HOLEPUNCH_KEEPALIVE
@ RCE_ZRTP_MULTISTREAM_MODE
@ RCE_SYSTEM_CALL_CLUSTERING
@ RCE_SRTP_REPLAY_PROTECTION
@ RCE_RECEIVE_ONLY
address/port interpreted as local, sending not possible
RTP_FORMAT
These flags are given to uvgrtp::session::create_stream()
@ RTP_FORMAT_H266
H.266/VVC.
@ RTP_FORMAT_PCMU
PCMU, ITU-T G.711.
@ RTP_FORMAT_L16_STEREO
L16 Stereo.
@ RTP_FORMAT_G726_32
G726, 32 kbit/s.
@ RTP_FORMAT_L16_MONO
L16 Mono.
@ RTP_FORMAT_GSM_EFR
GSM enhanced full rate speech transcoding.
@ RTP_FORMAT_OPUS
Opus, see RFC 7587.
@ RTP_FORMAT_H265
H.265/HEVC, see RFC 7798.
@ RTP_FORMAT_G729
G729, 8 kbit/s.
@ RTP_FORMAT_G726_24
G726, 24 kbit/s.
@ RTP_FORMAT_VDVI
VDVI, variable-rate DVI4.
@ RTP_FORMAT_DVI4_441
DVI 44.1 kbit/s.
@ RTP_FORMAT_GSM
GSM (Group Speciale Mobile)
@ RTP_FORMAT_DVI4_882
DVI 88.2 kbit/s.
@ RTP_FORMAT_L8
L8, linear audio data samples.
@ RTP_FORMAT_DVI4_32
DVI 32 kbit/s.
@ RTP_FORMAT_GENERIC
Same as PCMU.
@ RTP_FORMAT_H264
H.264/AVC, see RFC 6184.
@ RTP_FORMAT_G729E
G729E, 11.8 kbit/s.
@ RTP_FORMAT_DVI4_64
DVI 64 kbit/s.
@ RTP_FORMAT_G726_16
G726, 16 kbit/s.
@ RTP_FORMAT_G726_40
G726, 40 kbit/s.
@ RTP_FORMAT_G729D
G729D, 6.4 kbit/s.
RTP_ERROR
RTP error codes.
@ RTP_BIND_ERROR
Failed to bind to interface.
@ RTP_INITIALIZED
Object already initialized.
@ RTP_NOT_FOUND
Object not found.
@ RTP_NOT_INITIALIZED
Object has not been initialized.
@ RTP_INVALID_VALUE
Invalid value.
@ RTP_SEND_ERROR
System call send(2) or one of its derivatives failed.
@ RTP_AUTH_TAG_MISMATCH
Authentication tag does not match the RTP packet contents.
@ RTP_NOT_SUPPORTED
Method/version/extension not supported.
@ RTP_SSRC_COLLISION
SSRC collision detected.
@ RTP_RECV_ERROR
System call recv(2) or one of its derivatives failed.
@ RTP_SOCKET_ERROR
Failed to create socket.
@ RTP_MEMORY_ERROR
Memory allocation failed.
@ RTP_TIMEOUT
Operation timed out.
@ RTP_GENERIC_ERROR
Generic error condition.
RTP_CTX_CONFIGURATION_FLAGS
RTP context configuration flags.
RTP_FLAGS
These flags are given to uvgrtp::media_stream::push_frame() and they can be OR'ed together.
@ RTP_NO_FLAGS
Use this if you have no RTP flags.