Code Monkey home page Code Monkey logo

webrtcvideochat's Introduction

WebRTCVideoChat

Details

A Simple One to One Browser Based Video Chatting Application with features like,

  • Login and Registration.
  • Active User List

Technology used,

WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.

WebRTC Diagram

WebRTC Diagram

WebSocket Diagram

WebSocket Diagram

The WebSocket object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Setup

In public dir, create a .env file, add your websocket server's IP

WEBSOCKET_IP=192.168.1.100

In root dir of the project, create a .env file to replace env variables if needed (To Run using node command)

dbURL=mongodb://<mongodb_host_ip>:<mongodb_port>/<database_name>
SECRET=<your_secret>

Pre Requisits

Start

In Linux

make up

In Windows

docker-compose up -d --build

Down

In Linux

make down

In Windows

docker-compose down

Build Only

In Linux

make build

In Windows

docker-compose build

Remove Everything

In Linux

make clean

In Windows

docker-compose down -v

*Now you can access the application on https://localhost

webrtcvideochat's People

Contributors

zhfahan77 avatar

Stargazers

 avatar Huỳnh Trần Đăng Khoa avatar  avatar  avatar Trung avatar

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.