/Video-Chat-App

A video call and chat application built with WebRTC and Socket.io.

Primary LanguageJavaScript

Video-Chat-App

A video call and chat application built with WebRTC and Socket.io.

Features:

  • Peer-to-peer video and audio calls: Connect directly with other users in real-time without the need for a central server.
  • Chat functionality: Send and receive text messages with other users in the same room.
  • Room concept: Create and join rooms to organize your calls and chats.
  • Login system: Securely authenticate users by their room Id can room access.

Technologies:

  • JavaScript: Front-end scripting language.
  • Node.js: Back-end JavaScript runtime environment.
  • Express.js: Web framework for Node.js.
  • Socket.io: Real-time communication library for bidirectional communication between client and server.
  • WebRTC: Open-source API for real-time communication in web browsers.

Getting started: Client:

  1. Open a terminal and navigate with command cd client to move in client directory.
  2. Install dependencies: npm install
  3. Start the client: npm start

Server:

  1. Open a terminal and navigate with command cd server to move in server directory.
  2. Install dependencies: npm install
  3. Start the server: npm start

Usage:

  1. Log in to the application using your preferred method.
  2. Create or join a room.
  3. Click on another user's username to initiate a video call.
  4. Type in the chat box to send messages to other users in the room.