apssouza22 / video-chat-rtc

This is a video chat app using WebRTC and WebSockets. It is built using Node.js, Express, and Socket.io.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video-chat-app

This is a video chat app using WebRTC and WebSockets. It is built using Node.js, Express, and Socket.io.

We implemented a signaling server using Socket.io to exchange the WebRTC signaling messages (offer, answer, and candidate) between the peers. The signaling server is also responsible for broadcasting the list of active users to all connected users.

The WebRTC peer-to-peer communication requires an ICE server to establish a connection between the peers. In this app, we used the Google STUN server.

Getting started

  • npm install
  • npm start
  • Access the http://localhost:8881 from two different browsers
  • Click on the one of the active users to start a video chat

WebRTC Flow

Video Chat App

Docker

  • docker build -t video-chat-app .
  • docker run -p 8881:8881 video-chat-app

About

This is a video chat app using WebRTC and WebSockets. It is built using Node.js, Express, and Socket.io.


Languages

Language:JavaScript 61.3%Language:TypeScript 16.8%Language:CSS 11.2%Language:HTML 10.2%Language:Dockerfile 0.5%