Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sastava007/Video-Chat-WebApp-Scalled-Horizontally
Video Chat WebApp using NodeJS | Redis | VueJS | WebRTC | Socket.io
https://github.com/sastava007/Video-Chat-WebApp-Scalled-Horizontally
p2p peer-to-peer redis socketio video video-chat video-chat-demo video-chat-meetings video-chatting videochat videochatvue videoconferencing videoconferencing-room vuejs webapp webrtc webrtc-video
Last synced: 3 months ago
JSON representation
Video Chat WebApp using NodeJS | Redis | VueJS | WebRTC | Socket.io
- Host: GitHub
- URL: https://github.com/sastava007/Video-Chat-WebApp-Scalled-Horizontally
- Owner: sastava007
- Created: 2019-11-15T18:51:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T00:59:00.000Z (almost 2 years ago)
- Last Synced: 2024-04-08T02:16:06.278Z (7 months ago)
- Topics: p2p, peer-to-peer, redis, socketio, video, video-chat, video-chat-demo, video-chat-meetings, video-chatting, videochat, videochatvue, videoconferencing, videoconferencing-room, vuejs, webapp, webrtc, webrtc-video
- Language: Vue
- Homepage:
- Size: 2.26 MB
- Stars: 36
- Watchers: 5
- Forks: 16
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-webrtc - Video Chat WebApp - Video Chat WebApp using Node.js | Redis | VueJS | WebRTC | Socket.io. (Samples)
README
# Video Chat WebApp
## Features of the application:
- Several available rooms and possibility to jump across them.
- Realtime user status (online/absent/unavailable)
- Private chat with anyone else in the room & get notified whether the other user is already talking with someone else or has closed the chat.
- Be able to start a video conference within the same private chat.
- Horizontally scaled the two instances of app server using ***Load Balancer*** and ***Redis Adapter***.## Technology Stack
- Backend: NodeJS + Express
- VueJS as frontend framework
- Redis as a database in memory
- Docker & Docker Compose## Application Architecture
As we are running two diferrent instances of app server, with each server maintaining the data of it's own users locally so in case if two users want to communicate with each other but they are connected with different instances then it's not going to happen. So we need a shared memory which is accessible by both app servers and here come's the Redis into picture.
In case of Docker, we'll be running 3 containers the first two for app servers and third one for Redis.
## Interested in knowing how Video Communication works?
I'm using [**_WebRTC_**](https://webrtc.org/) is a free and open project that provides web and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. WebRTC enables peer to peer communications even tough it still needs a server for the _signaling_ process. *In this case the private chat rooms will be used as the signaling mechanism between the two users*
![enter image description here](https://i.imgur.com/9ybiMpY.png)
## Installation Guide
- Fork this repository, please star too.
- Enter the respective folder, and run `npm install`
- Fix dependency issues, if any using `npm audit fix`
- Run `npm run serve`Stuck somewhere, need help? Feel free to write to me at _[[email protected]](mailto:[email protected])_