A minimal peer-to-peer voice call application built using WebRTC. This project demonstrates how to establish a secure audio connection between two browsers using HTTPS and manual signaling.
- Peer-to-peer audio communication
- WebRTC RTCPeerConnection API
- Manual SDP exchange
- HTTPS enabled using OpenSSL
- No external frameworks (Vanilla TypeScript)
- WebRTC
- TypeScript
- OpenSSL (for local HTTPS)
- Vite
WebRTC requires a secure context (HTTPS) to access media devices. For local development, a self-signed certificate was generated using OpenSSL:
openssl req -x509 -newkey rsa:4096 -nodes -keyout key.pem -out cert.pem -days 365