# Offline & LAN Video Chat Without Internet — Pondchat

> Pondchat /offline is a serverless P2P video chat: browsers exchange the WebRTC handshake manually through QR codes or copy-pasted text, so calls work on an isolated LAN, a hotspot, or with no internet at all — for up to 6 participants, verified by a 4-character SAS code.

## How the handshake works

Normally a signaling server swaps the WebRTC offer and answer between browsers. In offline mode there is no server, so you become the courier: one device shows an offer as a QR code (or a copy-paste text blob), the other device scans it and generates an answer code, and the first device scans that back. Two scans and the encrypted P2P link is live.

The envelopes are deflate-compressed so they stay scannable, and they expire after five minutes — an old screenshot of a QR is useless to an attacker.

## LAN mode and WAN mode

LAN mode gathers only local-network host candidates — no ICE servers at all, which means it works on an isolated LAN, a phone hotspot, or between two laptops on the same Wi-Fi with the internet unplugged. WAN mode additionally gathers public candidates via STUN so peers on different networks can still pair manually, no account needed either way.

## Verify the person, not the QR

Once connected, each side shows a 4-character SAS code computed from both WebRTC fingerprints and the room key. Read it aloud over the call — matching codes prove the encrypted channel ends at your peer and not at a relay intercepting the handshake.

## Three to six people, still serverless

A guest only needs to handshake with one existing peer. Connected devices relay signaling envelopes to later joiners over the pond-signal data channel, so the mesh grows to 6 participants without any server knowing the room exists. Late joiners also receive up to 50 buffered chat messages from peers.

## When NOT to use offline mode

Anything that needs pondchat.com stays unavailable: instant room minting by link, usage stats, MCP agents, TURN fallback, and the persistent door. An offline pond exists only while the peers keep their tabs open — for remote invitations over the internet, use a normal online pond.

## FAQ

**How do two devices connect without the internet?**
One device creates an offer shown as a QR code (or copyable text); the other scans it, generates an answer QR, and the first scans that back. The whole WebRTC handshake happens manually — no signaling server, no internet round-trip.

**What is the SAS code shown during an offline call?**
A 4-character Short Authentication String computed from both peers' WebRTC fingerprints and the room key. Read it aloud to your peer — if the codes match, no one is silently relaying your handshake.

**Can more than two people join an offline pond?**
Yes, up to 6. The first connected devices relay signaling envelopes to later joiners over the pond-signal RTCDataChannel, so a guest only needs to handshake with one existing peer. Late joiners also receive up to 50 buffered chat messages.

**What is the difference between LAN and WAN mode?**
LAN mode gathers only local-network host candidates — zero ICE servers, works on an isolated network or hotspot. WAN mode additionally gathers public candidates via STUN so peers on different networks can still pair manually.

**What does not work in offline mode?**
Anything that needs pondchat.com: room minting, usage stats, MCP agents, TURN relay fallback, and the persistent door. An offline pond exists only while the peers keep their tabs open.

## Related

- [P2P encrypted calls](https://pondchat.com/features/p2p-encrypted-calls)
- [P2P file sharing](https://pondchat.com/features/p2p-file-sharing)
- [Jitsi alternative](https://pondchat.com/compare/jitsi-alternative)
- [llms.txt](https://pondchat.com/llms.txt)
