Skip to main content

Module extmap

Module extmap 

Source
Expand description

a=extmap RTP header-extension declarations and the well-known extension URIs. a=extmap RTP header-extension declarations.

An ExtMap binds a header-extension URI to the small integer id that will appear in RTP packets. Both sides must agree, which is the whole point of negotiating it in SDP: the id is per-session, while the URI is the stable name.

The *_URI constants are the extensions this stack uses — audio level, video orientation, absolute send time, transport-wide CC, and the SDES ids that make simulcast demultiplexing possible.

Structs§

ExtMap
ExtMap represents the activation of a single RTP header extension

Constants§

ABS_SEND_TIME_URI
The absolute-send-time extension URI, used for bandwidth estimation.
AUDIO_LEVEL_URI
The audio-level extension URI, carrying per-packet loudness.
DEF_EXT_MAP_VALUE_ABS_SEND_TIME
Default ext values
DEF_EXT_MAP_VALUE_SDES_MID
The default id assigned to the SDES mid extension.
DEF_EXT_MAP_VALUE_SDES_RTP_STREAM_ID
The default id assigned to the SDES RTP stream id extension.
DEF_EXT_MAP_VALUE_TRANSPORT_CC
The default id this crate assigns to the transport-wide CC extension.
SDES_MID_URI
The SDES mid extension URI, which tags each packet with its m-line.
SDES_REPAIR_RTP_STREAM_ID_URI
The SDES repaired RTP stream id extension URI, which identifies an RTX layer’s target.
SDES_RTP_STREAM_ID_URI
The SDES RTP stream id (RID) extension URI, which identifies a simulcast layer.
TRANSPORT_CC_URI
The transport-wide congestion control extension URI.
VIDEO_ORIENTATION_URI
The video-orientation (CVO) extension URI, carrying rotation flags.