Skip to main content

The connection

Once two devices are paired, their browsers open a direct, encrypted connection to each other (a standard WebRTC data channel, encrypted with DTLS). Files, folders and text all travel over it, in order, with the receiving side confirming what it has as it goes. The signaling server only introduces the two browsers. It passes along the setup messages they need — including their network addresses — but your files, their names and sizes never go through it.

Direct or relayed

Most of the time the two browsers can reach each other directly. Some networks — strict corporate or mobile networks — don’t allow that; then Sidedrop automatically routes the connection through a relay server, which forwards the encrypted stream without being able to read it. Access to the relay uses short-lived credentials that work only for live Sidedrop sessions, so there’s nothing for you to set up.

When the connection drops

If the connection drops — a Wi-Fi hiccup, switching to cellular, locking your phone for a moment — the status changes to Reconnecting…, items pause, and Sidedrop rebuilds the connection on its own. Sending then continues from the last piece the other side confirmed, not from the start. This works only while both tabs stay open. Closing or reloading either tab ends the session; nothing can be resumed later.

What ends a session

  • Closing or reloading a tab.
  • The other device leaving for more than about 45 seconds — your page goes back to showing your room.
  • Starting a new room or joining another code.
  • The room expiring while the devices aren’t connected. A room lasts 2 hours, and every join or reconnect starts the 2 hours again; a connection that’s already open keeps working.
On a phone, keep Sidedrop in the foreground during a big transfer. Switching away pauses it until you come back, as long as the page is still alive.