Skip to content
ALL LABS
LAB 04Live environment

SFU relay lab

Move the publisher, subscriber, network, and forwarding controls. Watch one upload become many selected downloads — and see exactly where the server's network bill comes from.

Lesson 12 — Topologies
FORWARDING SIMULATORLIVEKIT OPTIONALNO TRANSCODING

Build the forwarding policy

The publisher uploads once. Every choice below changes what the server sends back out.

SFU RELAYING

Publishers

Each publishes one camera + audio set.

CLICK TO MOVE ACTIVE SPEAKER

Subscribers

Viewers download; they do not publish.

8
024

The relay, right now

SFU DOES NOT MIX
PublishersForwarding onlySubscribersSFUselective forwarding0.60 Mbps0 TRANSCODESP1ACTIVEP2PUBLISHV1SUBSCRIBEV2SUBSCRIBEV3SUBSCRIBEV4SUBSCRIBEV5SUBSCRIBE+3 MORE SUBSCRIBERS2 PUBLISHERS · CAMERA + AUDIOONE UPLOAD · MANY SELECTED DOWNLOADS8 VIEWERS

Subscriber network

Forwarding policy

Layer controls

Simulcast

High + mid + low from the publisher

Screen share

Adds a separate 1.5 Mbps track

HIGH 1.50 · MID 0.60 · LOW 0.15 MBPS

7.0 Mbps

Server egress

3.2 GB/h at this shape

878 kbps

Per-viewer downlink

Mixed cap 4 Mbps

2.3 Mbps

Publisher uplink

all three layers

16

Streams forwarded

0 transcodes; SFU

Egress against “send everything high”

72% saved

This policy7.0 Mbps
All high to all viewers25 Mbps

Adaptive forwarding is the SFU's main economic advantage: one publisher upload, many selected downloads.

The trade

SFU total media12 Mbps
Equal-publisher mesh141 Mbps
Mesh / SFU media12.1×

Mesh comparison assumes every viewer also publishes high-quality camera video. Viewers in this SFU room only subscribe.

Fault injection

Break one layer at a time. The forwarding policy is what turns a failure into a graceful downgrade.

No fault is injected. The relay is forwarding every selected layer it can.

Optional · real SFU

LiveKit
CHECKING CONFIG
Looking for LiveKit credentials on the server.

Completion

Record the SFU lab

You have explored forwarding policy, simulcast layers, and failure modes. Record the lab to count it toward the certificate.

0 / 4 LABS · 0 / 15 LESSONS
CERTIFICATE REQUIRES ALL 4 LABS