Skip to content

Commit a4cf2b9

Browse files
Adding P2P Video Call Using WEB-RTC
1 parent d09cee2 commit a4cf2b9

29 files changed

+19274
-0
lines changed

video-call/vaibhavpnimkar/README.md

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# P2P Video Call Using WebRTC and Socket.IO
2+
3+
4+
## Table of Contents
5+
- [Introduction](#introduction)
6+
- [Features](#features)
7+
- [Getting Started](#getting-started)
8+
- [Prerequisites](#prerequisites)
9+
- [Installation](#installation)
10+
- [Usage](#usage)
11+
- [Step 1: Input User Email and Room ID](#step-1-input-user-email-and-room-id)
12+
- [Step 2: Connect Users via Socket.IO](#step-2-connect-users-via-socketio)
13+
- [Step 3: Initiate a Call](#step-3-initiate-a-call)
14+
- [Step 4: Send Video Stream](#step-4-send-video-stream)
15+
16+
## Introduction
17+
This project is a real-time P2P video call application that utilizes WebRTC and Socket.IO for connecting users over video calls. Users can initiate calls, send and receive video streams, and communicate seamlessly in a secure environment.
18+
19+
## Features
20+
- User-friendly interface
21+
- Real-time video calls
22+
- Secure user authentication and room creation
23+
- Easily extendable and customizable
24+
25+
## Getting Started
26+
### Prerequisites
27+
Before running this application, ensure you have the following dependencies installed:
28+
29+
- Node.js: [Download Node.js](https://nodejs.org/)
30+
31+
### Installation
32+
1. Clone the repository:
33+
```bash
34+
git clone https://github.com/vaibhavpnimkar/P2P-VideoCall
35+
cd your-repo
36+
```
37+
38+
2. Install the required dependencies:
39+
```bash
40+
npm install
41+
```
42+
43+
3. Start the application:
44+
```bash
45+
npm start
46+
```
47+
48+
## Usage
49+
### Step 1: Input User Email and Room ID
50+
![Step 1 Screenshot](https://github.com/vaibhavpnimkar/P2P-VideoCall/blob/main/screenshots/1.png)
51+
52+
- Open the application and enter your email.
53+
- Create or join a room by entering a room ID.
54+
55+
### Step 2: Connect Users via Socket.IO
56+
![Step 2 Screenshot](https://github.com/vaibhavpnimkar/P2P-VideoCall/blob/main/screenshots/2.png)
57+
58+
- Click the "Connect" button to establish a connection with the other user in the same room using Socket.IO.
59+
60+
### Step 3: Initiate a Call
61+
![Step 3 Screenshot](https://github.com/vaibhavpnimkar/P2P-VideoCall/blob/main/screenshots/3.png)
62+
63+
- Once connected, click the "Call" button to initiate a video call.
64+
65+
### Step 4: Send Video Stream
66+
![Step 4 Screenshot](https://github.com/vaibhavpnimkar/P2P-VideoCall/blob/main/screenshots/4.png)
67+
68+
- After the call is initiated, click the "Send Stream" button to start sending your video stream to the other user.
69+
70+
+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Getting Started with Create React App
2+
3+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4+
5+
## Available Scripts
6+
7+
In the project directory, you can run:
8+
9+
### `npm start`
10+
11+
Runs the app in the development mode.\
12+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13+
14+
The page will reload when you make changes.\
15+
You may also see any lint errors in the console.
16+
17+
### `npm test`
18+
19+
Launches the test runner in the interactive watch mode.\
20+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21+
22+
### `npm run build`
23+
24+
Builds the app for production to the `build` folder.\
25+
It correctly bundles React in production mode and optimizes the build for the best performance.
26+
27+
The build is minified and the filenames include the hashes.\
28+
Your app is ready to be deployed!
29+
30+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31+
32+
### `npm run eject`
33+
34+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
35+
36+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37+
38+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
39+
40+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
41+
42+
## Learn More
43+
44+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45+
46+
To learn React, check out the [React documentation](https://reactjs.org/).
47+
48+
### Code Splitting
49+
50+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51+
52+
### Analyzing the Bundle Size
53+
54+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55+
56+
### Making a Progressive Web App
57+
58+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59+
60+
### Advanced Configuration
61+
62+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63+
64+
### Deployment
65+
66+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67+
68+
### `npm run build` fails to minify
69+
70+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

0 commit comments

Comments
 (0)