PPCDN EP05: How Simulcast Works and Low-Latency Streaming
Explore Episode 5 of the PPCDN course, detailing how Simulcast produces multiple quality layers at the sender and avoids server-side transcoding overhead.

Stock photo for illustration only, not from the actual event
- Simulcast generates multiple independently decodable encodings simultaneously at the sender side.
- It reduces server load by eliminating network-side video decoding and re-encoding.
- Unlike traditional server transcoding, it avoids heavy processing loads and cuts added latency.
- The project relies on H264/HEVC and Simulcast based on current browser and device compatibility.
This article covers Episode 5 of the 20-part PPCDN Low-Latency Live Streaming Course, which focuses on building a self-hosted low-latency CDN. This episode bridges the gap between EP02's policy of no network-side transcoding and EP04's ABR bitrate degradation logic, explaining how multiple quality layers are produced at the sender and switched by the server without pixel-domain transcoding.
Simulcast is often misunderstood as cropping a single stream on the server. In reality, the sender produces multiple independently decodable encodings at once. For instance, a 1080p input with 3 simulcast layers can yield separate 1080p, 720p, and 360p RTP streams, implemented via multiple encoder instances or a pipeline supporting multi-outputs without rigid standalone requirements.

Stock photo for illustration only, not from the actual event
Understanding Simulcast mechanics is crucial for modern live streaming architecture, balancing resource distribution between publishers and infrastructure servers. Offloading encoding tasks to the publisher prevents severe bottlenecks at the core server, making it ideal for ultra-low latency live streaming environments.
Compared to traditional server-side transcoding where the server fully decodes incoming streams to raw pictures and re-encodes per target layer, Simulcast shifts this workload to the publisher. The server simply receives a ready picture and performs direct byte forwarding without decoding or re-encoding processes.
"the transcoding work didn't vanish; it moved to the publisher's encoder, trading publisher encode cycles for server transcode cycles."
Greg Tham
When considering why Scalable Video Coding (SVC) isn't used despite its bitrate efficiency, this project centers on H264/HEVC and Simulcast based on targeted browsers and sender/receiver capabilities. This reflects PPCDN's current product compatibility trade-off rather than an absolute industry restriction against SVC.
In the next episode, the course shifts from encoding to defense mechanisms, covering publish/play signing, token mechanisms, and anti-hotlinking strategies.
Source: Dev.to
Found something wrong in this article? Report an issue with this article
Comments
Leave a Comment