# SFU

> The SFU (Selective Forwarding Unit) is a media server that receives streams from participants and forwards them to others.

## What is an SFU in video calls?

The media server that receives one stream from each participant and forwards it to the others without decoding it. Each device uploads once instead of once per participant, which makes group calls and voice agents scale.

- Topic: Real-Time Communication
- Type: architecture

## Common mistakes

- Using a peer-to-peer mesh for large calls instead of an SFU.
- Sending one high-quality stream to everyone, so viewers on weak networks stutter.
- Assuming media is end-to-end encrypted while the SFU can access it.

## Key points

- Group calls send media to the SFU instead of opening a connection to every participant.
- Simulcast or adaptive quality is enabled for participants with slow networks.

## Interview questions

### What is the difference between an SFU and an MCU?

An SFU forwards streams unchanged. An MCU decodes and mixes them into one stream, which saves client bandwidth but costs a lot of server CPU.

### What is simulcast?

The sender encodes several qualities of the same video, and the SFU forwards the one that fits each receiver's network and screen.

### Is a call through an SFU end-to-end encrypted?

Not by default: encryption ends at the SFU. True end-to-end needs an extra encryption layer applied to encoded frames in the browser.

## Related cards

- [WebRTC](https://wonderium.dev/web/webrtc.md)
- [Peer-to-Peer](https://wonderium.dev/web/peer-to-peer.md)
- [Voice Agent](https://wonderium.dev/ai/voice-agent.md)

---

- Level: [Web Platform](https://wonderium.dev/web.md)
- HTML version: https://wonderium.dev/web/sfu
- Last updated: 2026-11-25
