Coder Social home page Coder Social logo

50um3n / video-chat Goto Github PK

View Code? Open in Web Editor NEW
49.0 5.0 31.0 56.14 MB

Simple Web Application that offer you to create video meeting room using WebRTC and Socket.

Home Page: https://soumen-video-calling-app.herokuapp.com/

License: MIT License

HTML 1.64% JavaScript 30.47% SCSS 49.79% EJS 18.10%
webrtc webrtc-demos webrtc-video videomeeting peer-to-peer peerjs-server socket-io turn videocalling zoom-clone

video-chat's Introduction

WebRTC Video Chat

Simple Web Application that offer you to create video meeting room using WebRTC and Socket

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You have to install Node.js in your machine.

Installing

After installing node clone the repo by using git

git clone https://github.com/50UM3N/video-chat.git
                        or
git clone [email protected]:50UM3N/video-chat.git

Or you can download the zip file.

Then open cmd or git bash on the project folder to install some modules that I used to build this project

Install Once

npm install

Nodemon For automatically restart the server as a dev dependency (optional)

npm i --sav-dev nodemon

Setting Database

For the database I use mongodb Atlas. But you can use the local also.

If you don't have any account in Atlas. Visit the page and create a free account then get your connection string. More at Documentation.

Rename the file .env_sample to .env then replace "connection string" to your connection string

Example

MONGO_URL=mongodb+srv://dbUser:<password>@cluster0.kfx8y.mongodb.net/myFirstDatabase?retryWrites=true&w=majority

Running the App

If you install nodemon the you can use. (devStart script is already added to the package.json)

npm run devStart

or

node server.js

Live Demo

For deploy the project I use heroku

Video Chat

Built With

  • Node Js - The Backend
  • Peer JS - PeerJS simplifies WebRTC peer-to-peer data, video, and audio calls.
  • SocketIo - For realtime communication
  • NPM - Dependency Management
  • GIT - Used for version control
  • Heroku - Used to Deploy Node.js applications

License

Video Chat is released under the MIT license.

video-chat's People

Contributors

50um3n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

video-chat's Issues

Room Validation failed

I actually hosted the project locally and it worked fine.. but when i created another account and tried to join the other user didn't show up... then I checked the console and it showed that the Room validation has failed... What is the reason ??

The first issue was also stating the same thing but there was no reply.. So, I raised the second issue...

Please respond :(

Invalid frame header

I executed npm install && node server.js. When opening new room this error throws:

websocket.js:54 WebSocket connection to 'ws://192.168.1.184:3000/socket.io/?EIO=4&transport=websocket' failed: Invalid frame header

I tried changing socket-io versions, node versions and other stuff

MongoParseError

No username provided in authority section
Should need mongo database? how to configuration? and set up the installation.

deploying(Pushing) to heroku

I'm trying to deploy it to Heroku but I keep getting this error about

remote:       npm ERR! Error while executing:
remote:        npm ERR! /usr/bin/git ls-remote -h -t ssh://[email protected]/RGBboy/express-flash.git
remote:        npm ERR!
remote:        npm ERR! Host key verification failed.
.
.
.
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/secret-badlands-82414.git'

image

Config connection

Sir in file server.js have require.dotenv.config
Missing file config may I know this configuration code? Is it to connect a database or what?

Sound Meter

Hi, I am having some issues manipulating the three dot sound icon animation. I am getting an error that says SE is not defined. How should I fix this?

Room validation failed

Validation Error: rooms validation failed: amdin: Path 'admin' is required
When I join with other account use by share link appear this, How to solve?

App.js is Empty.

I want to refer this git. But App.js is Empty.
I ran the server already.
Where is an execution statement of client?
Share me plz...

hello sir

May you help me solve this problem?
after I do npm install dotenv, and run node server.js appear this!
image

Refused to Load image

I tried to deploy my app in heroku then i created a new credential then tried to login but it gave me this error (in the below link)....
what should I do ?

click this image for reference

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.