Skip to content

The lab bench / four experiments

Read the manual. Then break the path.

Real-time systems fail in the space between the diagram and the wire. These labs open real sockets, real peer connections, and deliberate failure modes so you can see which layer is actually responsible.

4 labs/Local progress/Test feed available
Start here
BUN

# Next app + ws signaling server

$ bun run dev:all

# web http://localhost:3000

# signal ws://localhost:8081

# then open two tabs for the 1:1 and mesh labs

No camera?

Use the synthetic test feed.

No second device?

Open another tab, or use loopback/model mode.

No account?

Labs record to this browser's IndexedDB.

No SFU credentials?

The SFU model still runs. LiveKit is optional.

01

Observe the real wire

Open the socket, inspect candidates, read getStats. Do not start with a framework abstraction.

02

Change one variable

One policy, one candidate filter, one broken link. Keep the blast radius readable.

03

Explain the failure

If you cannot name the layer, the fix is a guess. The labs end with a written model, not just a green badge.