Fact-checked by Grok 2 weeks ago

RTP payload formats

RTP payload formats are standardized specifications that define how specific types of media data, such as audio, video, and text, are encapsulated and structured within the payload of (RTP) packets to support real-time transmission over networks. These formats ensure interoperability by specifying the use of RTP header fields, including payload type identifiers, sequence numbers for packet ordering, and timestamps for synchronization and timing reconstruction, while addressing challenges like , fragmentation, and aggregation. Developed primarily by the (IETF), RTP payload formats complement the core RTP protocol, which provides end-to-end transport services for real-time applications without guaranteeing or delivery timing. The (IANA) maintains registries for RTP parameters, including static and dynamic payload type codes (ranging from 0 to 127) and associated media types under categories like audio, video, application, and text, facilitating the assignment and tracking of formats for various codecs and encodings. Key aspects of RTP payload formats include support for media-specific features, such as scalability layers in video codecs or suppression in audio streams, and adherence to guidelines for efficient packetization to minimize and usage in or scenarios. Profiles, such as the Audio/Video Profile defined in 3551, map payload types to specific encodings, providing default configurations for common use cases like conferences and streaming. Historically, RTP payload formats have evolved alongside advancements in media compression technologies, starting with early specifications for formats like video in the 1990s and progressing to modern ones for high-efficiency codecs such as H.265/HEVC. Guidelines for developing these formats, outlined in documents like RFC 8088, emphasize considerations for robustness, security, and integration with (SDP) for negotiation, ensuring they remain adaptable to emerging real-time applications like VoIP, video conferencing, and live broadcasting.

Overview and Fundamentals

Definition and Role in RTP

RTP payload formats are standardized specifications, primarily defined in (RFC) documents by the (IETF), that outline the rules for structuring application-layer data—such as audio or video—within the payload field of (RTP) packets. These formats ensure that diverse encodings can be reliably transported over IP networks in real-time applications, like or video conferencing, by defining how the data is packetized, including the placement of headers, markers, and extensions specific to the . In RTP, payload formats play a critical role in facilitating the of multiple streams within a single session, where each stream is distinguished by synchronization source identifiers (SSRCs) and payload type fields, allowing endpoints to demultiplex and process incoming data correctly. They also support by leveraging RTP timestamps to indicate the timing of samples, enabling receivers to reconstruct the original timing and sequence despite network jitter or . Additionally, these formats address the challenges of variable-length s by specifying mechanisms for handling units of differing sizes, ensuring efficient use of without exceeding packet size limits. Payload formats serve as the essential bridge between upper-layer codecs—which generate encoded media data, such as those producing H.264 video streams—and the RTP , by defining how output is fragmented into smaller units for transmission or aggregated from multiple units into a single packet when appropriate. This includes precise rules for fragmentation, where large data units (ADUs) from the are split across multiple RTP packets, and aggregation, where small ADUs are combined to optimize transmission efficiency and reduce overhead. Such mechanisms are vital for maintaining performance, as they adapt the media data to RTP's fixed-header structure and underlying transport. Registration of RTP payload formats occurs through the (IANA), which maintains a registry of media types associated with these formats. Static payload types, numbered 0 through 95, are pre-assigned by IETF profiles for common encodings and require formal standardization for use. In contrast, dynamic payload types, ranging from 96 to 127, are negotiated out-of-band during session setup—typically via protocols like (SDP)—allowing flexibility for proprietary or less common formats without permanent IANA assignment.

Historical Development

The development of RTP payload formats originated within the Internet Engineering Task Force (IETF) Audio/Video Transport (AVT) working group during the early 1990s, driven by the need for standardized transport of real-time multimedia over IP networks. The foundational RTP specification, RFC 1889, published in January 1996, introduced the core RTP framework along with initial payload formats for common audio and video codecs, such as PCMU and H.261, enabling end-to-end delivery of time-sensitive data with features like payload type identification. This marked the formal establishment of the IANA registry for RTP payload types in 1996, which began assigning static identifiers to ensure interoperability across diverse network applications. Early advancements focused on enhancing reliability and flexibility for multimedia transmission. In 1997, RFC 2198 defined a payload format for redundant audio data, allowing senders to include backup encodings within RTP packets to mitigate packet loss in unreliable networks without requiring separate retransmission mechanisms. As RTP adoption grew in the 2000s, the AVT working group evolved into the AVTCORE subgroup around 2007 to address scalability and maintenance of core protocols, emphasizing guidelines for new payload formats to support emerging codecs and network conditions. This shift facilitated broader standardization, with RFC 4855 in 2007 updating the registration procedures for RTP payload formats as media subtypes, promoting dynamic payload type assignment and expert review to manage the expanding ecosystem. By the 2010s, RTP payload formats increasingly integrated with web-based real-time communication, particularly through , which adapted RTP for browser-native applications with enhanced congestion control and security. As of 2025, over 100 RFCs have defined RTP payload formats, reflecting sustained growth in support for diverse types, including a rising emphasis on secure formats using SRTP (RFC 3711) with payload formats registered as types per 4855. Recent efforts, including the closure of the dedicated RTP payload format types registry in 9751 (March 2025), underscore the maturity of the framework by consolidating registrations under broader IANA types.

Technical Foundations

RTP Packet Structure

The (RTP) packet is structured to enable efficient delivery of real-time media data over networks, consisting of a fixed 12-byte header, optional contributing source (CSRC) identifiers, an optional extension header, and a variable-length field that carries the formatted media content. This design supports , ordering, and identification of media streams while minimizing overhead for time-sensitive applications. The fixed RTP header occupies the first 12 bytes (octets 0 through 11) and includes essential fields for packet processing. It begins with a 1-byte field containing the version (V: 2 bits, set to 2 for the current RTP version), padding indicator (P: 1 bit, set to 1 if padding octets are present at the packet's end to align the total length to a multiple of 4 bytes), extension flag (X: 1 bit, set to 1 if an extension header follows), and CSRC count (CC: 4 bits, indicating the number of CSRC identifiers, ranging from 0 to 15). The second byte comprises the marker bit (M: 1 bit, interpreted by the profile to signal events such as frame boundaries) and payload type (PT: 7 bits, which identifies the format of the data in the payload field). Following these are the sequence number (16 bits, bytes 2-3, which increments by 1 for each RTP packet sent from the source to detect losses or reordering), timestamp (32 bits, bytes 4-7, representing the sampling instant of the first octet in the payload, in the clock rate of the media), and synchronization source identifier (SSRC: 32 bits, bytes 8-11, a random value that uniquely identifies the source of the stream within the RTP session). The payload type field in the header is used during session setup to negotiate and select the appropriate format for encapsulating media data. Immediately after the fixed header comes the optional CSRC list, which consists of 0 to 15 SSRC identifiers (each 32 bits or 4 bytes), totaling up to 60 bytes if all 15 are present; this list is included when CC > 0, typically by RTP mixers to identify the contributing sources in a mixed . If the extension flag (X) is set, an extension header follows the CSRC list (or the fixed header if no CSRC list), adding 4 bytes of fixed fields—a 16-bit profile-specific identifier and a 16-bit length field (indicating the number of 32-bit words in the extension)—plus a variable amount of profile-defined data for custom , such as additional timing or . The field, positioned after the fixed header, CSRC list, and any extension header, serves as a variable-length container for the actual in its specified format, with the total packet length determined by the underlying protocol (e.g., ). In form, the RTP packet can be visualized as: fixed header (bytes 0-11), followed by CSRC list (0 to 15 × 4 bytes), optional extension header (4 bytes + variable), and the remaining bytes as ; , if indicated, appears at the very end to ensure alignment without affecting the integrity. This structure ensures that the integrates seamlessly with the header fields for , allowing receivers to reconstruct timing and order the stream effectively.

Payload Type Identification

In RTP, payload types serve as identifiers that specify the format and encoding of the media data carried in the , enabling receivers to decode it correctly. These types are 7-bit values embedded in the RTP packet header, allowing for up to 128 distinct formats per session. The assignment of payload types is divided into static and dynamic categories to balance with flexibility for emerging media types. Static payload types, ranging from 0 to 95, are pre-assigned by the (IANA) for commonly used audio and video encodings, as defined in the RTP/AVP profile. For instance, payload type 0 is assigned to PCMU ( mu-law) audio at 8000 Hz, providing a fixed mapping that requires no for . These assignments originated from earlier RTP specifications and were standardized in RFC 3551, which obsoletes prior profiles like RFC 1890, establishing a closed registry to prevent conflicts. Updates to static assignments occur rarely through IETF processes, with new media types typically allocated dynamic values instead. Dynamic payload types, numbered 96 to 127, are reserved for session-specific assignments and must be negotiated between endpoints to bind them to particular encodings, clock rates, or parameters. This negotiation commonly occurs via the (SDP) during session setup in protocols like or . In the SDP offer, the sender lists supported payload types in the media description line (e.g., m=audio 5004 RTP/AVP 0 96) and provides mappings for dynamic types using attributes like a=rtpmap:96 opus/48000/2. The receiver responds in its SDP answer by selecting compatible types from the offer, confirming the bindings. If a mismatch occurs during —such as unsupported dynamic types—the receiver may reject the offer with an error code, like 488 Not Acceptable Here in , prompting re-negotiation or session failure. This process ensures robust identification across diverse networks, with RFC 3551 providing the foundational guidelines for both static and dynamic usage.

General Payload Format Mechanisms

Encapsulation Principles

Encapsulation in RTP payload formats involves structuring media data, such as audio or video samples, within the variable-length payload field of an RTP packet, ensuring compatibility with the protocol's end-to-end transport functions for applications. The core principle is to preserve the original media timing information, achieved through the RTP field, which indicates the sampling instant of the first octet in the payload and enables synchronization at the receiver. Additionally, RTP payloads support by leveraging the sequence number field, which increments monotonically for each packet, allowing receivers to reorder data and detect losses without relying on underlying network ordering guarantees. This design facilitates robust transmission over potentially unreliable networks like IP/UDP. A key aspect of encapsulation is handling variable-sized media units, often termed Application Data Units (ADUs), through fragmentation and aggregation to optimize packet efficiency and avoid excessive overhead. For large ADUs, such as video frames exceeding the typical (MTU) size of 1500 bytes, fragmentation splits the unit across multiple RTP packets, with the marker (M) bit in the RTP header set to indicate the final fragment of the unit, enabling proper reassembly. Conversely, aggregation combines multiple small ADUs, for instance, comfort noise frames in audio streams, into a single RTP to reduce header overhead and improve utilization, often using a table-of-contents structure to delineate boundaries within the payload. These mechanisms ensure that payloads remain decodable independently where possible, aligning with RTP's application-level framing principle. Optional supports alignment requirements, particularly for fixed-size data blocks or needs, by appending zeroed octets to the end, signaled via the (P) bit in the RTP header and a indicator in the last octet. This allows payloads to meet or constraints without altering the data itself. For enhanced reliability, encapsulation principles also accommodate (FEC), as defined in 2733, which specifies a generic format for protecting streams against through redundant parity data integrated into RTP packets. type negotiation, typically via protocols like , ensures the selected format adheres to these principles during session setup.

Handling of Timestamps and Sequence Numbers

In RTP, the sequence number serves as a 16-bit field in the packet header that is incremented by one for each successive RTP data packet sent by the source, enabling receivers to detect , duplication, and reordering while reconstructing the original transmission order. This field wraps around after reaching , at which point receivers employ extended sequence number tracking—combining the 16-bit value with an inferred cycle count—to maintain accurate loss detection over long sessions. Initial sequence numbers are chosen randomly to enhance against certain attacks. The field, a 32-bit unsigned in the RTP header, indicates the sampling instant of the first octet in the RTP data packet's , providing a reference for playout buffering, compensation, and across media streams. It derives from a clock with a specified by the format, such as 8000 Hz for common audio encodings, where the increments by the number of samples per packet (e.g., 160 for a 20 ms frame at that rate). Unlike wall-clock time, the RTP uses a monotonic counter that wraps around after 2^{32} (approximately 4.29 billion) units, equivalent to about 13.3 hours at 90 kHz for video, and starts from a random offset to support encryption. Payload formats define precise mappings from media-specific timestamps to RTP timestamps, which may be absolute (starting from zero or a fixed reference at session initiation) or relative (incremental from prior packets), ensuring consistent regardless of encoding variations. Clock rates for these timestamps are registered in the IETF media types registry as outlined in 3550, allowing by associating each payload type with a defined sampling . For layered encodings, such as scalable video codecs, 6051 extends RTP with header options carrying 56- or 64-bit NTP timestamps in packets, facilitating rapid of multiple interdependent flows by aligning relative timing across layers without relying solely on infrequent RTCP reports.

Audio Payload Formats

Core Audio Encoding Formats

Core audio encoding formats form the backbone of RTP-based audio transmission, particularly for real-time applications like and streaming where low is paramount. These formats prioritize simplicity, robustness, and minimal processing overhead to ensure reliable delivery over packet-switched networks. Foundational examples include (PCM) variants, which provide uncompressed or lightly compressed audio suitable for voice communications. The codec, standardized by the , represents a core PCM variant widely used in RTP payloads. It employs either μ-law or A-law to encode 8-bit samples at a 64 kbps , supporting a sampling rate of 8 kHz for audio (300–3400 Hz ). In RTP, G.711 uses payload types 0 (μ-law) and 8 (A-law), with packets typically encapsulating a fixed 160 samples—equivalent to 20 ms of audio—to align with common timing intervals and facilitate synchronization. This fixed-packet approach minimizes and supports low-latency , as the straightforward octet-aligned packing requires no complex decompaction at the receiver. The codec, another standard for low-bitrate speech, operates at 8 kbps using conjugate-structure algebraic-code-excited (CS-ACELP). It supports an 8 kHz sampling rate for audio and uses RTP type 18, with packets carrying 160 samples (20 ms) in a fixed octet-aligned format. This format enables efficient transmission for bandwidth-constrained VoIP applications while maintaining toll-quality speech. For , the codec extends capabilities to a 7 kHz bandwidth (50–7000 Hz), enabling higher-fidelity speech suitable for modern VoIP and conferencing. Defined in Recommendation G.722, it operates at 48, 56, or 64 kbps using sub-band (ADPCM). The RTP format, specified in RFC 3551, uses payload type 9 and packs 320 samples per 20 ms packet at a nominal 16 kHz sampling rate, though the RTP timestamp clock rate is 8 kHz for . This format maintains low by avoiding inter-frame dependencies, making it ideal for interactive streaming applications. More advanced core formats like provide versatile, variable-bitrate encoding for both speech and music, supporting bandwidths from (4 kHz) to fullband (20 kHz). Standardized in RFC 7587, Opus achieves bit rates from 6 kbps up to 510 kbps, adapting dynamically to network conditions while preserving low latency (frame sizes as small as 2.5 ms). The RTP payload format allows flexible packetization, including in-band and multistream support for or multichannel audio, making it a high-impact choice for low-delay streaming in and similar protocols. The codec, which incorporates for and wideband modes, includes in-band (FEC) to mitigate packet losses by embedding redundant data within the audio stream and received updates to its specification in RFC 8251 from October 2017, addressing issues like state resets, resampler management, and folding to improve resilience and audio fidelity under network variability. To handle silence periods efficiently without transmitting unnecessary data, comfort noise generation is integrated via RFC 3389. This payload format transports parameters for synthetic noise mimicking background ambiance, using a signal to switch between active audio and comfort noise frames. Primarily designed for codecs like and , it reduces bandwidth during quiet intervals while preventing unnatural , thus supporting natural-sounding low-latency . The format uses a dedicated payload type (e.g., 13 for ) and includes spectral envelope and noise energy descriptors for reconstruction. Adaptive payload mechanisms further enhance flexibility by enabling mixed encodings within a single RTP stream, as exemplified by the format for Adaptive Multi-Rate (AMR) codecs in RFC 3267. AMR supports multiple modes (bit rates from 4.75 to 12.2 kbps for narrowband), allowing the encoder to select optimal configurations per frame based on channel conditions. The RTP payload uses a Table of Contents (TOC) field to indicate mode switches and frame interleaving within packets, facilitating seamless transitions without stream interruptions—crucial for robust, low-latency mobile telephony over variable networks.

Specific Audio Codecs and RFCs

The , designed as a speech optimized for low-bitrate applications, incorporates (VAD) to enable silence suppression and efficient bandwidth usage. Its RTP format, defined in RFC 5574 published in June 2009, supports dynamic bit-rate switching ranging from 2.15 kbit/s to 44 kbit/s, with VBR modes activated via (SDP) parameters such as "vbr=on" or "vbr=vad" for VAD-integrated operation. The structure encapsulates one or more Speex frames following the standard RTP header, ensuring octet alignment and for parameters like sampling rate (8, 16, or 32 kHz) and bit-rate, while prohibiting frame fragmentation across packets to maintain robustness. Advanced Audio Coding (AAC), a perceptual audio codec supporting high-quality stereo and multichannel audio, utilizes an RTP payload format initially specified in RFC 3016 from November 2000 for MPEG-4 audio streams. This format employs the Low-overhead MPEG-4 Audio Transport Multiplex (LATM) to map audioMuxElements—each containing one or more audio frames—directly into the RTP payload, with the marker bit indicating complete or final fragments. For High Efficiency AAC (HE-AAC), an extension enhancing low-bitrate performance, the payload was refined in RFC 3640 from November 2003, incorporating an AU (Access Unit) Header Section to delineate individual AAC frames and the Auxiliary Section (kept empty), alongside support for configurable timestamp rates like 48 kHz and scalable layering across separate RTP packets. To further bolster audio payload resilience against bursty packet losses common in IP networks, RFC 6015 from January 2010 defines a 1-D interleaved Forward Error Correction (FEC) scheme for RTP, where protection parameters like interleaving depth (L) are tuned to distribute losses across packets, outperforming non-interleaved methods in burst conditions while maintaining low overhead for typical audio streams.

Video Payload Formats

Video Encoding Basics

Video encoding relies on compression techniques that exploit spatial and temporal redundancies in video data to reduce bitrate while maintaining quality. Intra-frame coding compresses individual frames independently, treating each as a standalone image using spatial within the frame, similar to still image codecs. Inter-frame coding, in contrast, predicts frames based on differences from previous or subsequent frames, employing to model movement between them. These methods form the basis of modern video codecs, where a (GOP) structures the sequence as a series of intra-coded I-frames (key frames for ), predictive P-frames (forward-referenced), and optionally bi-directional B-frames (referencing both directions for higher efficiency). For real-time delivery over RTP, low-latency modes are essential, often achieved by avoiding B-frames, which introduce decoding delays due to their dependence on future frames. Short GOP structures with frequent I- or P-frames minimize buffering and enable quicker error recovery, prioritizing responsiveness in interactive applications like videoconferencing. This contrasts with storage-oriented encoding, where longer GOPs with B-frames optimize compression at the expense of latency. RTP payload formats must address challenges arising from video's variable frame sizes and structured data units. Encoded frames consist of slices—self-contained segments of macroblocks—that can vary significantly in size, with I-frames typically larger than P- or B-frames due to less redundancy. The RTP marker bit in the header signals the end of a frame across multiple packets, allowing receivers to delineate boundaries and synchronize decoding without full frame reassembly. Scalability in video encoding supports adaptive transmission by layering content for varying network conditions. Scalable Video Coding (SVC), an extension to H.264, organizes the bitstream into a base layer—providing a baseline video stream decodable by legacy H.264 devices—and one or more enhancement layers that incrementally improve , temporal , or (quality). In RTP, these layers can be transmitted in single or multiple sessions, enabling selective decoding based on availability. A key constraint in RTP video transport is the network's (MTU), typically 1500 bytes for Ethernet, leaving approximately 1400 bytes for payload after headers. High-definition () video frames often exceed this, necessitating fragmentation into multiple RTP packets to prevent IP-layer fragmentation, which complicates loss recovery and increases overhead.

Key Video Codecs and Extensions

The RTP payload format for H.264/AVC, defined in RFC 3984, encapsulates (NAL) units into RTP packets to enable efficient transmission of compressed video over networks. This format supports single NAL unit packets for straightforward transmission, while aggregation packets such as Single-Time Aggregation Packets (STAP-A) combine multiple NAL units with the same timestamp into one RTP packet, reducing header overhead for smaller units like parameter sets or slice headers. Fragmentation Units (FU-A) address larger NAL units by splitting them across multiple RTP packets, using start (S) and end (E) indicators in the FU header to facilitate reassembly at the receiver, ensuring compatibility with varying MTU sizes and enhancing reliability in lossy environments. For the video codec, 7741 specifies an RTP payload format that emphasizes error resilience through partition-based structures inherent to VP8's encoding. Key frames, which are intra-coded and do not depend on prior frames, are signaled by setting the P-bit to 0 in the VP8 payload header, allowing decoders to identify synchronization points for recovery from . The format partitions each frame into up to eight independent segments, with each partition typically carried in a separate RTP packet; the Partition Index (PID) field and Start-of-Partition (S) bit in the header guide the assembly, enabling graceful degradation if a partition is lost, as subsequent partitions can still be decoded with reduced quality. This approach supports low-latency applications like video conferencing by minimizing re-encoding needs during transmission errors. The (HEVC/H.265) RTP payload format, outlined in 7798, builds on prior standards with enhanced support for scalability and . Temporal scalability extensions leverage the TemporalId in NAL unit headers to layer video streams, allowing middleboxes to drop higher temporal layers during congestion without affecting lower-layer decodability; parameters like sprop-sub-layer-id in signal the maximum supported layers for session negotiation. Supplemental Enhancement Information (SEI) messages, such as those for picture timing or user data, are embedded directly in the RTP payloads as NAL units, providing out-of-band for rendering and handling without impacting video decoding. Additionally, parameter sets—including Video Parameter Set (VPS), Sequence Parameter Set (), and Picture Parameter Set ()—can be transmitted out-of-band via attributes like sprop-vps, enabling session setup without requiring full keyframes and ensuring decoders initialize correctly before receiving coded slices. The Versatile Video Coding (VVC/H.266) RTP payload format, defined in RFC 9328, extends the NAL unit-based approach of previous codecs to support VVC's advanced compression and scalability features. It allows packetization of one or more NAL units per RTP packet, with aggregation packets (type 28) combining multiple units from the same access unit to reduce overhead, and fragmentation units (type 29) splitting larger NAL units using start (S), end (E), and reserved (R) bits for reassembly. Scalability is handled through LayerId and TemporalId fields in NAL headers, enabling temporal, spatial, and quality layers; SDP parameters such as sprop-sublayer-id and sprop-ols-id facilitate negotiation of supported layers and output layer sets. Parameter sets (VPS, SPS, PPS) and SEI messages can be delivered in-band or out-of-band via SDP, supporting efficient initialization and metadata handling in real-time applications. The RTP payload format for the video codec, specified by the in version 1.0.0 (December 2024), uses Open Bitstream Units (OBUs) for encapsulation, suitable for low-bitrate to high-quality streaming scenarios. It supports aggregation of multiple OBUs into a single RTP packet via an aggregation header indicating OBU count and sizes, and fragmentation of individual OBUs across packets with start (Z) and end (Y) flags for reassembly. Error resilience is enhanced by AV1's inherent structure, including indicators in OBU headers and partition independence; the format leverages the Dependency Descriptor RTP header extension to describe frame dependencies in scalable streams, allowing selective layer transmission and decoder recovery from losses. As of 2025, this format is implemented in tools like FFmpeg and used in for efficient, royalty-free video transport.

Text and Messaging Payload Formats

Text Transmission Protocols

Text transmission protocols in RTP payload formats enable the real-time conveyance of textual data, such as conversational messages or timed captions, within sessions. These formats are designed to handle low-latency requirements, resilience, and with other media streams like audio or video. Unlike audio or video payloads, text formats prioritize simplicity and efficiency due to the typically low data rates involved, often leveraging encoding for international character support. Key protocols focus on character-by-character streaming or structured markup for timed presentation, ensuring compatibility with applications like IP telephony, video conferencing, and broadcast subtitles. The primary format for real-time text conversation is defined in RFC 4103, which specifies an RTP payload for Recommendation T.140 text, encoded in UTF-8. This format transmits text in small blocks or individual characters within dedicated RTP packets, using the RTP header's sequence numbers for ordering and timestamps at a 1000 Hz clock rate for synchronization. To mitigate in unreliable networks, it supports optional redundancy payloads as per RFC 2198, where previous text blocks are interleaved with new ones. The type is text/t140, with an optional "cps" parameter to cap the character transmission rate (default 30 characters per second), and recommends a 300 ms buffering delay to balance latency and reliability. This approach suits interactive scenarios, such as text in calls, and obsoletes the earlier RFC 2793. For timed text applications, particularly subtitles in mobile and broadcast contexts, RFC 4396 outlines an RTP payload format for Timed Text. This standard encapsulates text samples from the file format, including strings and modifier boxes for styling (e.g., font, color, position), into RTP packets. Each sample covers a duration, typically up to 8 seconds to fit MTU constraints, with timestamps indicating display start times relative to the session. The format uses a 3GPP-specific header for sample duration and fragmentation support, enabling aggregation across packets, and is registered under the MIME type text/3gpp-tt. It is optimized for low-bandwidth mobile streaming, integrating with 3GPP multimedia services like packet-switched streaming. Another structured approach is provided by RFC 8759, which defines an RTP payload for (TTML), a W3C XML-based standard for synchronized text rendering. TTML documents, including timing attributes and styling elements, are fragmented into RTP payloads if exceeding path MTU, with the marker bit signaling the final fragment. Timestamps reference the document's epoch, using a default 1000 Hz clock, and the MIME type application/ttml+xml requires parameters like media timeBase for alignment with other streams. This format targets broadcast and streaming workflows, supporting profiles such as EBU-TT for television subtitles, and emphasizes semantic richness over conversational simplicity. An extension for multiparty scenarios is defined in RFC 9071, which provides RTP-mixer formatting enhancements to the real-time text format in RFC 4103. This enables centralized mixing of text from multiple participants in conferences, using a mixer-specific payload structure to combine contributions while preserving timing and redundancy mechanisms. These protocols collectively address diverse text needs in RTP, from interactive to captioned , while adhering to RTP's core mechanisms like sequence numbering and optional (e.g., RFC 2733). Implementations must consider security via SRTP for protecting sensitive text content, and offers for session negotiation, including rate limits and redundancy levels. Adoption has been prominent in standards like for real-time communication and for mobile multimedia.

Specialized Payload Formats

MIDI Data Encapsulation

MIDI Data Encapsulation in RTP involves packaging () 1.0 commands into RTP payloads to enable real-time transmission of symbolic music performance data over networks, distinct from sampled audio waveforms. This format supports all legal MIDI commands, including voice messages like note-on and note-off, which are typically 3 bytes each (status octet plus note number and velocity), as well as variable-length system exclusive (SysEx) messages that can span multiple packets. The encapsulation preserves MIDI's event-based structure, allowing for efficient networked applications such as remote instrument control and collaborative music performances. The RTP payload consists of a MIDI command section with a variable-length header followed by a list of timestamped MIDI events, optionally including a recovery journal for error . Events are timestamped relative to the RTP header timestamp using delta times encoded in 1-4 octets, enabling per-event timing with cumulative deltas modulo 2^32 that must not exceed the next packet's timestamp. This delta-timed approach aligns with Standard MIDI File (SMF) semantics in "comex" mode, ensuring precise . Running status optimization is maintained, where the status octet is omitted for consecutive identical commands after the first, reducing size—for instance, a sequence of note-off events on the same channel can drop from 3 bytes to 2 bytes per event. The RTP timestamp is configurable via , typically set to audio sampling rates such as 44.1 kHz. In "buffer" mode, implementations may poll the MIDI buffer 1000 times per second, with the sampling interval (mperiod) computed as the clock rate divided by 1000. Extensions in the updated specification address challenges in live performances, particularly jitter buffer adaptation to handle network variability while minimizing latency. Receivers can employ adaptive buffering strategies, such as processing recovery journals with delays informed by session parameters like guardtime, to maintain synchronization in ensemble settings. Multicast transmission is supported via UDP or TCP, facilitating group communication akin to MIDI DIN party-line topology, which is ideal for distributed music ensembles where multiple participants share timing without individual acknowledgments. Sequence numbers in the RTP header aid in packet reordering and loss detection, complementing the payload's timing mechanisms.

Other Niche Formats

RTP payload formats extend beyond to support specialized applications such as still image transmission, correction mechanisms, and immersive experiences in (VR/AR). For still image transfer, the RTP payload format specified in RFC 2435 supports -compressed content, allowing bursts of independent still images to be sent as single-frame streams. The format includes headers for scan parameters and quantization tables, optimizing for delivery where images are transmitted sequentially, with each RTP packet carrying JPEG segments to reconstruct the full image at the receiver. This approach is particularly useful in applications like remote monitoring or snapshot sharing, where video codecs would be inefficient. Forward Error Correction (FEC) provides redundancy across media types via the generic payload format in RFC 5109, which defines parity packets generated from source RTP data to recover lost information. The scheme uses block-based encoding (e.g., Reed-Solomon codes) to create repair packets that can be interleaved or non-interleaved, applicable to any RTP stream for improved reliability in unreliable networks without requiring retransmissions. Emerging RTP payload formats address VR/AR needs, such as the Visual Volumetric Video-based Coding (V3C) draft, which supports 6 (6DoF) metadata for immersive content allowing user movement in . This format encapsulates volumetric data (e.g., point clouds, meshes) with associated atlases and , enabling low-latency transmission for interactive experiences while handling scalability through layered packetization.

References

  1. [1]
    RFC 8088 - How to Write an RTP Payload Format - IETF Datatracker
    This document contains information on how best to write an RTP payload format specification. It provides reading tips, design practices, and practical tips.
  2. [2]
  3. [3]
    Real-Time Transport Protocol (RTP) Parameters
    ### Summary of IANA's Role in RTP Parameters
  4. [4]
    RFC 3551 - RTP Profile for Audio and Video Conferences with ...
    RFC 3551 defines an RTP profile for audio/video conferences with minimal control, using RTP/AVP, and defines default mappings for payload types to encodings.
  5. [5]
    RFC 1889 - RTP: A Transport Protocol for Real-Time Applications
    RTP is a real-time transport protocol providing end-to-end network transport for real-time data like audio and video, including payload identification and ...
  6. [6]
    Real-Time Transport Protocol (RTP) Parameters
    Mar 28, 2025 · RTP parameters include payload types for audio/video, RTCP control packet types, SDES item types, and payload format media types.RTP Payload Types (PT) for... · RTP Payload Format Media...
  7. [7]
  8. [8]
  9. [9]
  10. [10]
  11. [11]
  12. [12]
    RFC 2733 - An RTP Payload Format for Generic Forward Error ...
    This document specifies a payload format for generic forward error correction of media encapsulated in RTP. It is engineered for FEC algorithms based on the ...
  13. [13]
    RFC 6051: Rapid Synchronisation of RTP Flows
    ### Summary of RFC 6051: Rapid Synchronisation of RTP Flows
  14. [14]
  15. [15]
  16. [16]
    RFC 7587 - RTP Payload Format for the Opus Speech and Audio ...
    This document defines the Real-time Transport Protocol (RTP) payload format for packetization of Opus-encoded speech and audio data necessary to integrate the ...
  17. [17]
    RFC 3389 - Real-time Transport Protocol (RTP) Payload for Comfort ...
    ... static payload type of 13 is assigned for RTP timestamp clock rate of 8,000 Hz; if other rates are needed, they MUST be defined through dynamic payload types.
  18. [18]
    RFC 5574: RTP Payload Format for the Speex Codec
    **Summary of RFC 5574: RTP Payload Format for the Speex Codec**
  19. [19]
    RFC 3016: RTP Payload Format for MPEG-4 Audio/Visual Streams
    ### Summary of RTP Payload Format for AAC (RFC 3016)
  20. [20]
    RFC 3640 - RTP Payload Format for Transport of MPEG-4 ...
    The RTP payload consists of the AU Header Section, followed by concatenated AAC frames. The Auxiliary Section MUST be empty. For each AAC frame contained in ...
  21. [21]
    RFC 8251: Updates to the Opus Audio Codec
    **Summary of RTP Payload Format for SILK Codec in WebRTC (RFC 8251)**
  22. [22]
    RFC 6015 - RTP Payload Format for 1-D Interleaved Parity Forward ...
    This implies that 1-D interleaved FEC protection performs well under bursty loss conditions provided that a large enough value is chosen for L, i.e., L ...
  23. [23]
  24. [24]
  25. [25]
  26. [26]
  27. [27]
  28. [28]
  29. [29]
  30. [30]
  31. [31]
    RFC 3984 - RTP Payload Format for H.264 Video - IETF Datatracker
    This memo describes an RTP Payload format for the ITU-T Recommendation H.264 video codec and the technically identical ISO/IEC International Standard 14496-10 ...
  32. [32]
    RFC 7741 - RTP Payload Format for VP8 Video - IETF Datatracker
    This memo describes an RTP payload format for the VP8 video codec. The payload format has wide applicability, as it supports applications from low-bitrate peer ...
  33. [33]
    RFC 7798 - RTP Payload Format for High Efficiency Video Coding ...
    RFC 7798 describes an RTP payload format for HEVC, allowing packetization of NAL units and fragmentation into multiple RTP packets.<|control11|><|separator|>
  34. [34]
    RFC 4103: RTP Payload for Text Conversation
    This memo obsoletes RFC 2793; it describes how to carry real-time text conversation session contents in RTP packets.
  35. [35]
    RFC 4396: RTP Payload Format for 3rd Generation Partnership ...
    This document specifies an RTP payload format for the transmission of 3GPP (3rd Generation Partnership Project) timed text.
  36. [36]
    RFC 8759: RTP Payload for Timed Text Markup Language (TTML)
    This memo describes a Real-time Transport Protocol (RTP) payload format for Timed Text Markup Language (TTML), an XML-based timed text format from W3C.
  37. [37]
    RFC 3428: Session Initiation Protocol (SIP) Extension for Instant Messaging
    **Summary of RFC 3428: SIP Extension for Instant Messaging (SIMPLE)**
  38. [38]
  39. [39]
    RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core
    Below is a merged summary of RFC 6120 based on the provided segments, combining all relevant information into a concise yet comprehensive response. To maximize detail and clarity, I’ve organized key information into a table where appropriate, followed by a narrative summary. This ensures all details from the individual summaries are retained while avoiding redundancy.
  40. [40]
    XEP-0166: Jingle - XMPP
    Sep 19, 2018 · The purpose of Jingle is to enable one-to-one, peer-to-peer media sessions between XMPP entities, where the negotiation occurs over the XMPP signalling channel.Missing: real- | Show results with:real-
  41. [41]
    XEP-0167: Jingle RTP Sessions - XMPP
    Jul 4, 2025 · This document specifies an application format for negotiating Jingle media sessions, where the media is exchanged over the Realtime Transport Protocol (RTP).11. Scenarios · 11.2 Jingle Audio Via Rtp... · 11.3 Jingle Audio Via Srtp...
  42. [42]
    RFC 6713: The 'application/zlib' and 'application/gzip' Media Types
    **Summary of RFC 6713: The 'application/zlib' and 'application/gzip' Media Types**
  43. [43]
    RFC 6295: RTP Payload Format for MIDI
    Below is a merged summary of the RTP Payload Format for MIDI (RFC 6295) that consolidates all information from the provided segments into a single, comprehensive response. To maximize detail and clarity, I’ve organized key information into tables where appropriate, while retaining narrative sections for conceptual explanations. The response avoids redundancy, integrates overlapping details, and ensures all unique points are included.
  44. [44]
    RFC 4696 - An Implementation Guide for RTP MIDI - IETF Datatracker
    This memo offers non-normative implementation guidance for the Real- time Protocol (RTP) MIDI (Musical Instrument Digital Interface) payload format.
  45. [45]
    RFC 8428 - Sensor Measurement Lists (SenML) - IETF Datatracker
    This specification defines a format for representing simple sensor measurements and device parameters in Sensor Measurement Lists (SenML).Missing: RTP | Show results with:RTP
  46. [46]
    RFC 2435 - RTP Payload Format for JPEG-compressed Video
    This memo describes the RTP payload format for JPEG video streams. The packet format is optimized for real-time video streams where codec parameters change ...
  47. [47]
    RFC 5109 - RTP Payload Format for Generic Forward Error Correction
    This document specifies a payload format for generic Forward Error Correction (FEC) for media data encapsulated in RTP.
  48. [48]
    RTP Payload Format for Visual Volumetric Video-based Coding (V3C)
    The V3C RTP payload format allows for packetization of one or more V3C atlas Network Abstraction Layer (NAL) units in an RTP packet payload as well as ...<|control11|><|separator|>