description: PPCDN FAQ: the real reason ERTMP can measure lower latency than SRT, and why merging P2P into a live CDN matters for 1v1 interactive video.¶
Frequently Asked Questions (FAQ)¶
1. Why does ERTMP simulcast publishing have lower latency than SRT?¶
Short answer: ERTMP only covers the publisher → Origin ingest hop. Inside PPCDN, nodes talk to each other over WHIP and viewers pull over WHEP, so the rest of the path is identical.
"ERTMP is lower latency than SRT" compares only the first hop, not the whole end-to-end path:
- ERTMP (Enhanced RTMP) is the enhanced RTMP family: it carries HEVC and multiple video tracks on one connection so legacy RTMP devices can publish simulcast. It runs over TCP and does not reserve a TSBPD-style delivery budget, so on a clean network its measured ingest latency can be lower than SRT.
- SRT is not "slower by design": it deliberately spends a latency budget on ARQ retransmission and TSBPD delivery to survive weak networks. That budget shows up in end-to-end latency, which is why SRT usually measures higher (around 386ms) but stays stable under loss/jitter.
- Nothing differs after ingest: the Origin → Edge hop always uses WHIP (UDP + RTP with NACK/FEC and congestion control), and playback always uses WHEP. The ingest choice does not change PPCDN's internal transport or the playback path.
| Ingest | Role | Transport | Latency profile | Best for |
|---|---|---|---|---|
| WHIP | Main real-time ingest | UDP + RTP (NACK/FEC) | Lowest, ~108ms ingest | Clean networks, lowest latency |
| ERTMP | Compatibility for legacy RTMP devices | TCP | Can be lower than SRT on clean networks; jumpy under loss due to TCP head-of-line blocking | Devices that only speak RTMP |
| SRT | Weak-network ingest | UDP + ARQ + TSBPD | ~386ms, traded for resilience | Unstable uplinks that need strong recovery |
Don't treat ERTMP as a low-latency option
ERTMP still runs over TCP. A single packet loss triggers head-of-line blocking and latency can spike, so it is a compatibility entry point, not a low-latency promise. Use WHIP for the lowest latency and SRT for weak uplinks.
Further reading: EP04 RTMP / SRT / WHIP · Measuring end-to-end latency · Live latency performance test report
2. Is it necessary to merge P2P into the live CDN?¶
Short answer: for 1v1 iSlot-style interactive video, yes — P2P is a structural cost and latency win. But the design is P2P-first with Edge fallback, not a replacement for the CDN.
Why it matters for 1v1
- 1v1 has a different cost structure from broadcast: every room is its own publish stream with one viewer, so relaying through an Edge costs one egress stream plus forwarding resources per room. A direct P2P path moves media straight to the peer, driving per-room Edge egress close to zero and end-to-end latency down to ~70ms.
- WebRTC natively provides ICE/STUN/TURN and DTLS-SRTP, so P2P is built in. PPCDN already has ppcenter signaling and STUN-assisted traversal, so folding P2P into the CDN does not require a second transport stack.
- For a business where concurrent rooms equal concurrent viewers, P2P rewrites the egress bill — it is not a nice-to-have, it is core to the unit economics.
Why it must be merged with the CDN, not P2P-only
- NAT, firewalls and symmetric NAT/CGNAT mean P2P can never be 100% reliable. A P2P-only design black-screens as soon as traversal fails.
- The right shape is P2P-first + Edge fallback: connect directly when possible, and automatically fall back to
Origin → Edge → WHEPwhen it fails — invisible to the viewer, with no hit to availability. - The CDN remains responsible for reliability, recording/audit and large-scale fan-out. P2P is an optimization layered on top of the CDN, not a replacement.
Boundaries
- P2P currently carries H264 + Opus only; HEVC viewers automatically use the Edge.
- Each publisher is capped at 3 direct connections, enforced centrally so the publisher uplink is not over-committed.
- Large one-to-many distribution still uses CDN fan-out; P2P is for 1v1 / small interactive sessions.
- The main path always keeps a CDN fallback; quality and availability are never traded for bandwidth savings.
Conclusion: for 1v1 interactive video, merging P2P into the live CDN is worthwhile (P2P-first, Edge fallback); for large one-to-many live, the CDN remains the workhorse and P2P is optional.
Further reading: PPCDN for 1v1 iSlot video · EP04 RTMP / SRT / WHIP