RTP payload formats

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description The Real-time Transport Protocol (RTP) specifies a general-purpose data format and network protocol for transmitting digital media streams on Internet Protocol (IP) networks. The details of media encoding, such as signal sampling rate, frame size and timing, are specified in an RTP payload format. The format parameters of the RTP payload are typically communicated between transmission endpoints with the Session Description Protocol (SDP), but other protocols, such as the Extensible Messaging and Presence Protocol (XMPP) may be used.

Payload types and formats

The technical parameters of payload formats for audio and video streams are standardised. The standard also describes the process of registering new payload types with IANA.

Text messaging payload types

Payload formats and types for text messaging are defined in the following specifications:

MIDI payload types

Payload formats and types for MIDI are defined in the following specifications:

Audio and video payload types

Payload formats and types for audio and video are defined in the following specifications:

Payload identifiers 96–127 are used for payloads defined dynamically during a session. It is recommended to dynamically assign port numbers, although port numbers 5004 and 5005 have been registered for use of the profile when a dynamically assigned port is not required.

Applications should always support PCMU (payload type 0). Previously, DVI4 (payload type 5) was also recommended, but this was removed in 2013.Template:Ref RFC

Payload type (PT) Name Type No. of channels Clock rate (Hz)[note 1] Frame size (byte) Default packet interval (ms) Description References
0 PCMU audio 1 8000 any 20 ITU-T G.711 PCM μ-Law audio 64 kbit/s Template:IETF RFC
1 reserved (previously FS-1016 CELP) audio 1 8000 reserved, previously FS-1016 CELP audio 4.8 kbit/s Template:IETF RFC
2 reserved (previously G721 or G726-32) audio 1 8000 reserved, previously ITU-T G.721 ADPCM audio 32 kbit/s or ITU-T G.726 audio 32 kbit/s Template:IETF RFC
3 GSM audio 1 8000 20 20 European GSM Full Rate audio 13 kbit/s (GSM 06.10) Template:IETF RFC
4 G723 audio 1 8000 30 30 ITU-T G.723.1 audio Template:IETF RFC
5 DVI4 audio 1 8000 any 20 IMA ADPCM audio 32 kbit/s Template:IETF RFC
6 DVI4 audio 1 16000 any 20 IMA ADPCM audio 64 kbit/s Template:IETF RFC
7 LPC audio 1 8000 any 20 Experimental Linear Predictive Coding audio 5.6 kbit/s Template:IETF RFC
8 PCMA audio 1 8000 any 20 ITU-T G.711 PCM A-Law audio 64 kbit/s Template:IETF RFC
9 G722 audio 1 8000Template:Refn any 20 ITU-T G.722 audio 64 kbit/s Template:IETF RFC
10 L16 audio 2 44100 any 20 Linear PCM 16-bit Stereo audio 1411.2 kbit/s,Template:Ref RFCTemplate:Ref RFCTemplate:Ref RFC uncompressed Template:IETF RFCTemplate:Rp
11 L16 audio 1 44100 any 20 Linear PCM 16-bit audio 705.6 kbit/s, uncompressed Template:IETF RFCTemplate:Rp
12 QCELP audio 1 8000 20 20 Qualcomm Code Excited Linear Prediction Template:IETF RFC, Template:IETF RFCTemplate:Rp
13 CN audio 1 8000 Comfort noise. Payload type used with audio codecs that do not support comfort noise as part of the codec itself such as G.711, G.722.1, G.722, G.726, G.727, G.728, GSM 06.10, Siren, and RTAudio. Template:IETF RFC
14 MPA audio 1, 2 90000 8–72 MPEG-1 or MPEG-2 audio only Template:IETF RFC, Template:IETF RFC
15 G728 audio 1 8000 2.5 20 ITU-T G.728 audio 16 kbit/s Template:IETF RFC
16 DVI4 audio 1 11025 any 20 IMA ADPCM audio 44.1 kbit/s Template:IETF RFC
17 DVI4 audio 1 22050 any 20 IMA ADPCM audio 88.2 kbit/s Template:IETF RFC
18 G729 audio 1 8000 10 20 ITU-T G.729 and G.729a audio 8 kbit/s; Annex B is implied unless the annexb=no parameter is used Template:IETF RFC,Template:Rp Template:IETF RFCTemplate:Rp
19 reserved (previously CN) audio reserved, previously comfort noise Template:IETF RFC
25 CELLB video 90000 Sun CellB video[1] Template:IETF RFC
26 JPEG video 90000 JPEG video Template:IETF RFC
28 nv video 90000 Xerox PARC's Network Video (nv)[2][3] Template:IETF RFCTemplate:Rp
31 H261 video 90000 ITU-T H.261 video Template:IETF RFC
32 MPV video 90000 MPEG-1 and MPEG-2 video Template:IETF RFC
33 MP2T audio/video 90000 MPEG-2 transport stream Template:IETF RFC
34 H263 video 90000 H.263 video, first version (1996) Template:IETF RFC, Template:IETF RFC
72–76 reserved reserved because RTCP packet types 200–204 would otherwise be indistinguishable from RTP payload types 72–76 with the marker bit set Template:IETF RFC, Template:IETF RFC
77–95 unassigned note that RTCP packet type 207 (XR, Extended Reports) would be indistinguishable from RTP payload types 79 with the marker bit set Template:IETF RFC, Template:IETF RFC
dynamic H263-1998 video 90000 H.263 video, second version (1998) Template:IETF RFC, Template:IETF RFC, Template:IETF RFC
dynamic H263-2000 video 90000 H.263 video, third version (2000) Template:IETF RFC
dynamic (or profile) H264 AVC video 90000 H.264 video (MPEG-4 Part 10) Template:IETF RFC
dynamic (or profile) H264 SVC video 90000 H.264 video Template:IETF RFC
dynamic (or profile) H265 video 90000 H.265 video (HEVC) Template:IETF RFC
dynamic (or profile) theora video 90000 Theora video draft-barbato-avt-rtp-theora
dynamic iLBC audio 1 8000 20, 30 20, 30 Internet low Bitrate Codec 13.33 or 15.2 kbit/s Template:IETF RFC
dynamic PCMA-WB audio 1 16000 5 ITU-T G.711.1 A-law Template:IETF RFC
dynamic PCMU-WB audio 1 16000 5 ITU-T G.711.1 μ-law Template:IETF RFC
dynamic G718 audio 32000 (placeholder) 20 ITU-T G.718 draft-ietf-payload-rtp-g718
dynamic G719 audio (various) 48000 20 ITU-T G.719 Template:IETF RFC
dynamic G7221 audio 16000, 32000 20 ITU-T G.722.1 and G.722.1 Annex C Template:IETF RFC
dynamic G726-16 audio 1 8000 any 20 ITU-T G.726 audio 16 kbit/s Template:IETF RFC
dynamic G726-24 audio 1 8000 any 20 ITU-T G.726 audio 24 kbit/s Template:IETF RFC
dynamic G726-32 audio 1 8000 any 20 ITU-T G.726 audio 32 kbit/s Template:IETF RFC
dynamic G726-40 audio 1 8000 any 20 ITU-T G.726 audio 40 kbit/s Template:IETF RFC
dynamic G729D audio 1 8000 10 20 ITU-T G.729 Annex D Template:IETF RFC
dynamic G729E audio 1 8000 10 20 ITU-T G.729 Annex E Template:IETF RFC
dynamic G7291 audio 16000 20 ITU-T G.729.1 Template:IETF RFC
dynamic GSM-EFR audio 1 8000 20 20 ITU-T GSM-EFR (GSM 06.60) Template:IETF RFC
dynamic GSM-HR-08 audio 1 8000 20 ITU-T GSM-HR (GSM 06.20) Template:IETF RFC
dynamic (or profile) AMR audio (various) 8000 20 Adaptive Multi-Rate audio Template:IETF RFC
dynamic (or profile) AMR-WB audio (various) 16000 20 Adaptive Multi-Rate Wideband audio (ITU-T G.722.2) Template:IETF RFC
dynamic (or profile) AMR-WB+ audio 1, 2 or omit 72000 13.3–40 Extended Adaptive Multi Rate – WideBand audio Template:IETF RFC
dynamic (or profile) vorbis audio (various) (various) Vorbis audio Template:IETF RFC
dynamic (or profile) opus audio 1, 2 48000Template:Refn 2.5–60 20 Opus audio Template:IETF RFC
dynamic (or profile) speex audio 1 8000, 16000, 32000 20 Speex audio Template:IETF RFC
dynamic mpa-robust audio 1, 2 90000 24–72 Loss-Tolerant MP3 audio Template:IETF RFC
dynamic (or profile) MP4A-LATM audio 90000 or others MPEG-4 Audio (includes AAC) Template:IETF RFC
dynamic (or profile) MP4V-ES video 90000 or others MPEG-4 Visual Template:IETF RFC
dynamic (or profile) mpeg4-generic audio/video 90000 or other MPEG-4 Elementary Streams Template:IETF RFC
dynamic VP8 video 90000 VP8 video Template:IETF RFC
dynamic VP9 video 90000 VP9 video Template:IETF RFC
dynamic AV1 video 90000 AV1 video av1-rtp-spec
dynamic L8 audio (various) (various) any 20 Linear PCM 8-bit audio with 128 offset Template:IETF RFCTemplate:RpTemplate:Rp
dynamic DAT12 audio (various) (various) any 20 (by analogy with L16) IEC 61119 12-bit nonlinear audio Template:IETF RFCTemplate:Rp
dynamic L16 audio (various) (various) any 20 Linear PCM 16-bit audio Template:IETF RFC,Template:Rp Template:IETF RFC
dynamic L20 audio (various) (various) any 20 (by analogy with L16) Linear PCM 20-bit audio Template:IETF RFCTemplate:Rp
dynamic L24 audio (various) (various) any 20 (by analogy with L16) Linear PCM 24-bit audio Template:IETF RFCTemplate:Rp
dynamic raw video 90000 Uncompressed Video Template:IETF RFC
dynamic ac3 audio (various) 32000, 44100, 48000 Dolby AC-3 audio Template:IETF RFC
dynamic eac3 audio (various) 32000, 44100, 48000 Enhanced AC-3 audio Template:IETF RFC
dynamic t140 text 1000 Text over IP Template:IETF RFC
dynamic EVRC
EVRC0
EVRC1
audio 8000 EVRC audio Template:IETF RFC
dynamic EVRCB
EVRCB0
EVRCB1
audio 8000 EVRC-B audio Template:IETF RFC
dynamic EVRCWB
EVRCWB0
EVRCWB1
audio 16000 EVRC-WB audio Template:IETF RFC
dynamic jpeg2000 video 90000 JPEG 2000 video Template:IETF RFC
dynamic UEMCLIP audio 8000, 16000 UEMCLIP audio Template:IETF RFC
dynamic ATRAC3 audio 44100 ATRAC3 audio Template:IETF RFC
dynamic ATRAC-X audio 44100, 48000 ATRAC3+ audio Template:IETF RFC
dynamic ATRAC-ADVANCED-LOSSLESS audio (various) ATRAC Advanced Lossless audio Template:IETF RFC
dynamic DV video 90000 DV video Template:IETF RFC
dynamic BT656 video ITU-R BT.656 video Template:IETF RFC
dynamic BMPEG video Bundled MPEG-2 video Template:IETF RFC
dynamic SMPTE292M video SMPTE 292M video Template:IETF RFC
dynamic RED audio Redundant Audio Data Template:IETF RFC
dynamic VDVI audio Variable-rate DVI4 audio Template:IETF RFC
dynamic MP1S video MPEG-1 Systems Streams video Template:IETF RFC
dynamic MP2P video MPEG-2 Program Streams video Template:IETF RFC
dynamic tone audio 8000 (default) tone Template:IETF RFC
dynamic telephone-event audio 8000 (default) DTMF tone Template:IETF RFC
dynamic aptx audio 2 – 6 (equal to sampling rate) 4000 ÷ sample rate 4[note 2] aptX audio Template:IETF RFC
dynamic jxsv video 90000 JPEG XS video Template:IETF RFC
dynamic scip audio/video 8000 or 90000 SCIP Template:IETF RFC

<templatestyles src="Reflist/styles.css" />

  1. The "clock rate" is the rate at which the timestamp in the RTP header is incremented, which need not be the same as the codec's sampling rate. For instance, video codecs typically use a clock rate of 90000 so their frames can be more precisely aligned with the RTCP NTP timestamp, even though video sampling rates are typically in the range of 1–60 samples per second.
  2. For aptX, the packetization interval must be rounded down to the nearest packet interval that can contain an integer number of samples. So at sampling rates of 11025, 22050, or 44100, a packetization rate of "4" is rounded down to 3.99.

Script error: No such module "Check for unknown parameters".

See also

References

<templatestyles src="Reflist/styles.css" />

Script error: No such module "Check for unknown parameters".

External links