Skip to content

apssouza22/video-chat-rtc

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published