/video-call

Aplicação Node para vídeo-chamadas usando WebRTC.

Primary LanguageJavaScript

Video call with NodeJS

This project implements WEB video calls using WebRTC, a technology focused on real-time communication via browser or native app.

Demo screen

Environment requirements

  • NodeJS with the NPM package manager installed.
  • Install the Yarn if you prefer to use it.

Required NPM packages

Module Purpose
Express Create a web server to serve statically the test page
SocketIO Synchronizes events between callers

Features

  • Video and audio stream
  • Auto-start call
  • End the call
  • Shared text area, updated on all callers in real-time

Get started

  • Clone the project: git clone https://github.com/felipeleite11/video-call.git
  • Execute instalation of dependencies: npm install ou yarn
  • Execute application: npm start ou yarn start
  • Open http://localhost:3000/room_name in your browser
  • Allow the required permission to access your camera and microphone
  • Open a anonymous instance of your browser and open the same URL
  • Allow the required permissions again

The expected is...

  • Two identical images, side by side, captured directly from your webcam
  • When speaking into your microphone, your voice should be echoed through your device’s speaker

Browser compatibility

WebRTC project is compatible with most desktop and mobile browsers.

  • Chrome
  • Firefox
  • Edge
  • Safari
  • Opera
  • Internet Explorer

Check more support details in Can I use.

Contribution suggestions

  • Call start from a button
  • Allow room creation
  • Improve responsiveness for mobile devices