Skip to content

developersharif/webrtcExample

Repository files navigation

WebRTC Demo App

This is a simple WebRTC demo app that showcases the basic functionality of Web Real-Time Communication (WebRTC). It allows users to establish peer-to-peer audio and video communication directly in the browser.

Features

  • Peer-to-peer audio communication
  • Peer-to-peer video communication
  • Simple and intuitive user interface

Before you begin, ensure you have the following prerequisites:

Web browser with WebRTC support (e.g., Google Chrome, Mozilla Firefox) Node.js and npm installed

Run Locally

Clone the project

  git clone https://github.com/developersharif/webrtcExample.git

Go to the project directory

  cd webrtcExample

Install dependencies

  npm install

Add IceServers to peerConfiguration in main.js file

Ref => https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Protocols

Start the server

  npm run dev

Demo

https://developersharif.github.io/webrtcExample/

Author