What is RTP (Real Time Protocol)?
Updated: Oct 27

RTP is the Real-time Transport Protocol, used to carry time-sensitive media such as voice and video between applications. It adds information that helps a receiver interpret the media, identify its source and reconstruct its timing. “Real Time Protocol” is a common shortened search term, but the transport part of the name matters: RTP carries media rather than setting up a call or guaranteeing instant delivery.
For a broadband user, the practical point is that a successful connection is only the beginning. A voice packet can arrive out of order, arrive too late to play, or never arrive. The application needs a way to recognise those situations and decide what to do without holding a conversation indefinitely.
What does RTP actually do?
The IETF's RTP specification in RFC 3550 defines the core protocol. A packet includes a payload type, sequence number, media timestamp and synchronisation source identifier, commonly called the SSRC. The fixed header is 12 bytes before optional additions. RTP commonly uses UDP, but is not restricted to it, and provides no delivery or delay guarantee.
Think of an arriving packet as both a piece of media and a small set of instructions about where that piece belongs. The receiver still has to understand the negotiated format, manage a playback deadline and produce sound or pictures. The protocol cannot make a congested link faster.

The example above follows one illustrative audio stream. Its labels distinguish the order in which packets were sent, the media interval each represents and the order in which they arrive. Those are separate questions, even when a healthy connection makes them look similar.
Follow the media from microphone to speaker
The sending application captures sound and encodes it using an agreed codec.
It groups encoded media into payloads and adds RTP information for the stream.
The transport and network carry the packets towards the receiving application.
The receiver identifies the stream and interprets each packet using the agreed payload mapping.
A playback buffer and decoder turn the available media into timed output, dealing with missing or late material according to the implementation.
Control reports and application measurements help the endpoints monitor reception and adapt where their capabilities allow.
This is a conceptual sequence, not six equally long delays. Capture can continue while earlier media is being transmitted and played. A packetisation choice affects how much audio must be collected for a packet, while a receiver's buffering decision affects how long received material may wait.
The distinction becomes useful when troubleshooting. A quiet microphone, a failed session negotiation and a burst of network loss can all produce silence, but require different investigations. Hearing nothing is a symptom, not proof of an RTP fault.
Sequence numbers and timestamps answer different questions
For a single stream, a sequence number helps track packets. A media timestamp helps place their content in media time. Neither is simply the time shown on a wall clock. Equal media timestamps can occur across packets belonging to one video frame, so “one timestamp per packet” is not a safe general rule.
An illustrative sequence makes the difference clearer:
Sent packet | Relative media timestamp | Arrival order in this example | Interpretation |
|---|---|---|---|
4100 | 0 | First | First illustrated audio interval |
4101 | 960 | Third | Reordered, not necessarily lost |
4102 | 1920 | Second | Arrives ahead of its predecessor |
The timestamp values here are offsets from an arbitrary initial value, not a claim that real streams begin at zero. All three packets belong to the same illustrative source and use an unchanged format. The sequence does not cross a wraparound boundary or restart.
The Opus RTP payload specification uses a 48,000 Hz timestamp clock across its modes. For packets representing 20 ms of consecutive audio, the increment is 48,000 × 0.020 = 960 timestamp units. That clock rate should not be confused with a bitrate or an assertion about the microphone's hardware sampling rate.
If 4101 arrives in time for playback, the receiver may still use its content in the correct place. If it arrives after the relevant deadline, recovering the original send order does not recover the missed listening moment. The two cases should not be combined into a single “bad packets” total without explaining what was counted.
Our packet timing guide explores that separation between sending, arrival and playback. It explains why correct average throughput does not establish that every packet met its deadline.
A worked timing example: received does not mean usable
Consider three 20 ms audio intervals in a deliberately simplified receiver model. The first media interval starts at relative time zero. Choose playback deadlines of 60, 80 and 100 ms, measured against one illustrative timeline. These are teaching assumptions, not a recommended buffer setting or a measurement of a real service.
Packet | Arrival time | Playback deadline | Result under this model |
|---|---|---|---|
4100 | 30 ms | 60 ms | Available in time |
4101 | 90 ms | 80 ms | Ten milliseconds late |
4102 | 75 ms | 100 ms | Available in time despite arriving before 4101 |
Every packet arrives, yet the middle interval misses its deadline. A capture reporting three received packets would therefore be compatible with an audible interruption. The listener's result depends on what the decoder and application do at that missing moment.
Moving all deadlines 20 ms later would make the middle packet available before its new 100 ms deadline in this particular example. It would also postpone playback by 20 ms. That is a trade-off, not free error correction, and a later burst could still exceed the added allowance.
A jitter buffer manages this tension between irregular arrivals and continuous playback. More waiting can absorb some variation, but can make conversation less responsive. No fixed buffer value solves every route, codec, device and application.
Missing packets require another decision
If 4101 never arrives, waiting longer will not restore it. The receiver might use packet loss concealment, redundant information or a supported recovery mechanism. Which options are available depends on the codec and negotiated system. Concealment can make a gap less objectionable; it does not prove that the original media was recovered.
Likewise, a gap in one capture can reflect capture loss or observation at the wrong point. Our packet loss explanation distinguishes absent traffic from delayed traffic. A useful investigation states the capture location and compares observations with endpoint counters and the actual symptom.
RTP, RTCP, codecs and call setup
These names describe cooperating parts of a system rather than competing names for the same thing.
A codec represents media in an encoded form. Choosing a codec is different from choosing how its packets travel.
An RTP payload format defines how a particular encoded format is carried and interpreted.
RTCP is the associated control protocol for reception reporting and related information.
Session signalling establishes the information endpoints need to communicate. RTP does not replace that negotiation.
SRTP protects RTP traffic in systems that use it with appropriate key management and security configuration.
RTCP sender reports can relate a media clock to a reference clock; receiver reports provide reception information. This helps distinguish the media flow from the information used to understand its delivery. Feedback is useful evidence, but a report is neither a promise that the next packet will arrive nor an instruction that every application must react in the same way.
For example, a receiver can observe a deterioration while the sender chooses among reducing media demand, changing an encoding choice or continuing unchanged. The available response depends on the application's congestion control and negotiated capabilities. Reporting a problem and fixing its cause are different operations.
Payload numbers need context
Do not assume that a number displayed in a packet inspector universally identifies one codec. RFC 3551 specifies static assignments for its audio/video profile and a dynamic range that requires agreement. Its static table includes PCMU at an 8,000 Hz clock rate, while Opus uses a different payload specification and a dynamic assignment.
The practical question is whether both endpoints agree on the mapping used in that session. Copying a payload number from another call or internet example can produce a plausible-looking configuration that the receiver interprets incorrectly.
Does RTP provide encryption?
The name RTP alone does not establish that a call is encrypted. SRTP is a related protection framework; its original specification, RFC 3711, describes confidentiality, authentication and replay protection. Security depends on the profile, key management and complete system, rather than the presence of an RTP-shaped header.
The IETF's WebRTC media transport requirements require protected RTP and RTCP for WebRTC endpoints. That does not turn every use of RTP elsewhere into WebRTC, or establish that a conferencing service has no access to media. Transport protection and the service's trust boundaries require separate consideration.
Keep required security controls in place during diagnosis. Do not disable encryption, expose broad firewall ranges or remove workplace protections merely to make a packet trace easier to read. Use the service's supported diagnostics and obtain permission before collecting other people's communications.
Why a fast broadband speed test can coexist with poor calls
A call uses a chain of capture, encoding, packet delivery, buffering, decoding and output. A speed test mainly answers a capacity question under its test conditions. It does not measure every stage of this chain, or necessarily use the same destination and route.
On UK broadband, consider the actual ISP, access network, product and location together. FTTP, FTTC, cable, fixed wireless and mobile connections have different access mechanisms, yet each can be affected by local WiFi, competing traffic, router queues, routing and the remote service. The access label alone cannot diagnose a call.
A home upload can matter even when download capacity appears generous. Cloud backup traffic and a video call share whatever upstream capacity is available at the bottleneck. A repeatable deterioration during that load is a useful comparison, but does not identify the exact queue without further evidence.
If packets meet their deadlines but audio still fails, inspect the device and application too. Muted inputs, output routing, resource pressure and media processing can sit outside the broadband path. Buying more capacity will not correct a muted microphone or a mismatched session configuration.
A practical UK troubleshooting sequence
Record the affected application, devices, direction of the problem and exact time. Distinguish “I cannot hear them” from “they cannot hear me”.
Check input selection, mute state, output device and the application's own connection status before attributing silence to the network.
Repeat a comparable session over wired Ethernet where practical, keeping the destination and other conditions as similar as possible.
Compare a quiet connection with normal household load, recording upload and download activity separately without deliberately disrupting essential work.
Use the application's reception, loss, jitter and delay statistics where available. Record their units, reporting interval and whether they describe incoming or outgoing media.
If authorised packet analysis is appropriate, identify the correct stream and payload mapping, then distinguish reordering, missing observations and late playback rather than relying on one warning count.
Change one supported setting at a time and repeat the comparison. Keep security controls in place and return unsuccessful changes to their prior state.
Escalate with timestamps, connection method, application evidence and comparison results, stating what the evidence does and does not establish.
Wireshark's current user guide describes stream analysis with sequence, arrival-gap, jitter and other statistics, some of which depend on successful codec interpretation. An inspection tool's labels need their own definitions: arrival delta, estimated jitter and one-way delay are not interchangeable. A packet capture from one endpoint does not automatically supply synchronised measurements at the sender.
Captures can contain voice, device addresses, session details and other people's information. Retain only what is necessary and use the appropriate support channel. A concise event record can be more useful for an initial escalation than an unrestricted capture file.
What RTP can and cannot tell you
The useful diagnostic boundary is between media organisation and network service. RTP provides information for interpreting a stream. The receiver and its surrounding application decide how that stream becomes output. The network determines when packets become available along the way.
Ask three questions separately: was the expected media sent, was it observed at the receiver, and was it usable at the intended playback time? Then ask whether the device actually rendered it correctly. This avoids treating a clean network counter as proof that the entire call succeeded, or treating one poor call as proof that the access line failed.
Frequently asked questions
What does RTP stand for?
RTP stands for Real-time Transport Protocol. “Real Time Protocol” is a shortened expression sometimes used in searches, rather than the full technical name.
Is RTP the same as UDP?
No. UDP can carry RTP packets, while RTP adds media-related information. RTP can also be used with other suitable underlying transports.
Does RTP guarantee low latency?
No. Its information helps endpoints handle time-sensitive media, but it does not guarantee timely or successful packet delivery.
What is the difference between RTP and RTCP?
RTP carries media data; its associated control protocol, RTCP, carries reporting and related control information. Both work within a larger media system.
Can a packet arrive successfully but still be too late?
Yes. A packet received after its playback deadline may no longer be useful for that moment, even though it was not lost in transit.
Is every RTP call encrypted?
No. Check the system's security profile and key management. WebRTC requires protected media transport, but RTP use alone does not establish encryption.
Key takeaway
RTP organises time-sensitive media so an application can make sense of packets that arrive unevenly. It does not remove the network's delay or replace the receiver's playback decisions. Diagnose the complete path from capture to output, keeping packet order, media timing, arrival and playback deadlines separate.
For the wider set of concepts behind voice and video performance, explore the Techie Broadband terminology guide.

