How NookCall works
A NookCall meeting has three parts: the browsers of the people in it, the app that NookCall.com runs, and an independent operator on the Livepeer network that carries the audio and video. Here is what each one does, and why only the browsers can see or hear the meeting, unless its host records it.
Three parties, one set of keys
NookCall divides the work of a meeting among three parties and gives the meeting’s keys to only one of them: the browsers of the people in it. The operator that carries the call never holds those keys, and neither does NookCall.com unless the host records the meeting: our recorder then joins it as a member everyone can see, and holds its keys.
- Room messages, between your browser and NookCall.com. The lobby, the list of who is in the room, the host’s controls, chat, and the messages the browsers exchange to agree on keys. We can read the names people give and what the host does. We can’t read the chat, which is encrypted, and the browsers’ key messages never give us the meeting’s keys, unless the host records the meeting and our recorder joins it. The same connection carries the technical messages that set up your media, on their way to the operator.
- Setup and control, between NookCall.com and the operator. One connection for each room. Over it we tell the operator’s media server whom to let in, by a random ID, and pass along each browser’s setup messages. We relay those without reading them.
- Encrypted audio and video, between your browser and the operator. Your media goes straight to the operator’s media server, which forwards it to the other participants. It never passes through our servers, and every frame is encrypted before it leaves your browser.
What NookCall.com does
We run the app you open: accounts and sign-in, rooms, the lobby and the list of who is in a meeting. So we know who joins each meeting, by the name they give, and when. We are trusted with that, and never with what is said or shown, unless the host records the meeting.
When a host creates a room, our app finds an operator with space for it and opens the room there.
We also vouch for who is in the room. When the host admits someone, our app signs a credential for that person’s browser, and the other browsers accept a new member only with one. This is the one part of the encryption where you have to trust us. A compromised NookCall.com could sign a credential for someone nobody admitted; the security page explains how the meeting would show it.
What the operators do
Operators are independent parties on the Livepeer network. Each runs, on its own hosts, the media server that receives every participant’s audio and video and forwards it to the others.
You pay NookCall.com, and we pay the operators. Each room is one session with its operator, paid for every second it is open in Livepeer’s payment tickets, which are drawn on NookCall’s own deposit and signed by our signing service.
That payment path is built, and we have run it from start to finish on a test setup of our own, with a stand-in for the blockchain. No operator on Livepeer’s public network has been paid by NookCall yet.
Your media is encrypted twice. The connection between your browser and the operator has its own encryption, which ends at the operator’s server. Underneath it is the layer your browser adds for the other participants alone, and the operator never holds the keys to that one. So it forwards frames it can’t open.
An operator still sees some things: each participant’s IP address, when each one joins and leaves, who is speaking, the size and timing of the encrypted packets, and a few bytes at the start of each frame, which its server needs to forward video. It knows participants by random IDs, never by name or email address. The security and privacy page goes through each of these.
An operator can’t add a listener of its own. A participant it invented would belong to no encryption group, so it could decrypt nothing, and the meeting would never list it as a member.
What an operator can do is fail you: drop or delay packets, or stop carrying the call.
How the media stays private
- Your browser encrypts every frame of audio and video before sending it, with SFrame, a standard for encrypting media end to end (RFC 9605).
- The browsers agree on the keys among themselves, through MLS, a standard for agreeing on keys in a group (RFC 9420). Our app carries their messages but never joins the group, so it never has the keys, unless the host records the meeting: then our recorder joins the group as a member everyone can see.
- The keys change whenever someone joins or leaves, so a person who has left can’t decrypt what comes after.
- Nothing is sent unencrypted. Your browser never sends audio or video without the encryption attached, and drops any frame that fails to decrypt.
Encryption hides what is said, not that a meeting took place. The security and privacy page says who can see what, how to compare the room’s fingerprint, and where the protection stops.
Joining a meeting, step by step
- The host creates a room. Our app reserves a place for it with an operator and opens one connection to that operator’s media server.
- You open the invite link and wait in the lobby. Your browser connects to our app, and the host sees that you are waiting. In the lobby you have no keys.
- The host admits you. Our app signs a credential for your browser and tells the operator to expect you, under a random ID.
- The browsers make new keys. A browser already in the meeting adds yours to the encryption group, and every member moves to new keys.
- Your browser connects to the operator. It sets the connection up through our app, which passes the messages along unread, and then sends its media straight to the operator.
- You talk. Each frame is encrypted in the sender’s browser, forwarded by the operator, and decrypted in the other participants’ browsers.
Your browser normally sends its media over UDP. On a network that blocks UDP, as some office and hotel networks do, it reaches the operator through a relay on port 443, over TLS, as it reaches any secure website. The relay is the operator’s own, running beside its media server, so it sees what the operator sees and no more: it passes on the same encrypted frames.
If an operator fails
The room itself lives in our app, not with the operator, so an operator that fails need not end the meeting. Our app moves the room to another operator, and the call carries on after a few seconds with the same keys.
Try it
Create a room in your browser and send its link to the people you want there.