Skip to content

mahyarjalalvand/webrtc-p2p-voice-call

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebRTC P2P Voice Call

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.

Features

  • Peer-to-peer audio communication
  • WebRTC RTCPeerConnection API
  • Manual SDP exchange
  • HTTPS enabled using OpenSSL
  • No external frameworks (Vanilla TypeScript)

Tech Stack

  • WebRTC
  • TypeScript
  • OpenSSL (for local HTTPS)
  • Vite

Why HTTPS?

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors