WebRTC Metrics
A comprehensive overview of WebRTC statistics, derived indicators, and observable signals, to better understand call quality, connectivity, and user experience in rtcStats
Back
codeccodecaudiovideo
payloadType
The RTP payload type number identifying this codec.
Description
Unsigned short
The RTP payload type as used in RTP packets and defined in the SDP. This number maps RTP packets to their codec. Dynamic payload types (96-127) are assigned during SDP negotiation.
See also
- codec->mimeType
- codec->clockRate
- WebRTC Statistics Specification

Notes
- Static payload types like 0 (PCMU) and 8 (PCMA) are well-known. Dynamic types are negotiated per session and can differ between calls.