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:
- Open a terminal and navigate with command
cd client
to move in client directory. - Install dependencies:
npm install
- Start the client:
npm start
Server:
- Open a terminal and navigate with command
cd server
to move in server directory. - Install dependencies:
npm install
- Start the server:
npm start
Usage:
- Log in to the application using your preferred method.
- Create or join a room.
- Click on another user's username to initiate a video call.
- Type in the chat box to send messages to other users in the room.