Browsers only grant camera and microphone access on pages served over https:// or http://localhost. You're currently opening the file directly, which doesn't qualify.
Quickest fix: open a terminal in the folder containing this file and run one of:
python3 -m http.server 8000
npx serve .
Then visit http://localhost:8000/private-call.html in your browser. Your friend does the same on their machine — both ends just need a localhost server, not a shared one.
Or deploy the file to a free static host like Netlify Drop, Vercel, or GitHub Pages, and share that URL.
A quiet line between two people.
No accounts, no servers, no records. Your video and audio travel directly between your browser and theirs, encrypted by default.
How this stays safe. Calls use WebRTC, which encrypts media end-to-end with keys generated by your two browsers. There is no relay or recording. The only handshake is a code you exchange manually — over a channel you already trust, like a text message to someone you know.
private call
i.
Send your invite.
Copy the code below and send it to the person you want to call — by text, email, or any other channel you trust. They'll send a code back to you in step two.
Camera will appear here…
Preparing your invite…
Your invite code
Their reply
Connection couldn't be established.
This usually means one of the following. Try them in order:
Make sure you both pasted the entire code, including line breaks.
Codes go stale after a few minutes — generate a fresh invite and try again.
Some networks (corporate Wi-Fi, hotel Wi-Fi, certain mobile carriers) block peer-to-peer traffic entirely. Try switching one side to a phone hotspot or different network.
VPNs and aggressive ad blockers can also interfere — try disabling them.
Click Back and start a new call to try again.
private call
i.
Paste their invite.
Paste the invite code they sent you below. We'll generate a reply for you to send back.
Their invite
private call
ii.
Send your reply.
Send the reply code below back to them. As soon as they paste it on their end, the call will connect.
Camera will appear here…
Preparing your reply…
Your reply
Connection couldn't be established.
The reply was sent, but a connection couldn't be made. This usually means one of the following:
One of you is on a network (corporate, hotel, or restrictive mobile carrier) that blocks peer-to-peer traffic. Try switching to a phone hotspot or home Wi-Fi.
A VPN or ad blocker may be interfering — try disabling them.
The invite code may have gone stale. Have them generate a fresh one.