RTP
— Real-time Transport ProtocolRTP defines how real-time media is framed for transport, adding sequence numbers, timestamps, and a payload type so a receiver can reorder packets, absorb jitter, and detect loss. The companion RTCP protocol carries reception statistics for quality monitoring.
Interactive Session: How RTP Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of RTP.
Threat Model & Attack Simulation
How this protocol is attacked in practice, what defenders can see, and which control stops it.
Threat model & attack simulation
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
RTP media injection
InjectionAn attacker who guesses the RTP ports and SSRC can inject audio or video into a call.
Discover the session
SDP or scanning reveals the RTP ports and codec.
Unsolicited packets toward the media ports.
Eavesdropping disruption and social-engineering opportunities.
Defences that matter
- SRTP with authenticated key exchange
- Randomise ports and restrict media sources
- Monitor SSRC and sequence anomalies
This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.
Protocol Specification & Architecture
Key characteristics, real-world deployment patterns, and trade-offs.
Core Technical Features
- Sequence number per packet enables loss detection and reordering
- Timestamp and payload type support clock recovery and codec demux
- Synchronisation source (SSRC) identifies each media stream
- RTCP reports carry jitter, loss, and round-trip statistics
Real-World Use Cases
- VoIP call audio carried over UDP
- Live video conferencing and streaming media
- WebRTC media tracks between browsers
Advantages & Strengths
- Minimal header overhead keeps latency low for interactive media
- Works with any codec through the payload type field
Limitations & Vulnerabilities
- Delivers no reliability or congestion control of its own
- UDP transport means packets can be lost, duplicated, or reordered