Giter Site home page Giter Site logo

webrtc_call's Introduction

Peer to peer webRTC based call

Demo

demo.mp4

Description

Peer to Peer webRTC based call without any third party library. It is developed from scratch. Project has following features.

  • Mute/Unmute Audio.
  • Camera on/off.
  • Copy invite.
  • Terminate call.

Installation

  1. Install NodeJS version 16

    • cd ~
    • curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh
    • sudo bash /tmp/nodesource_setup.sh
    • sudo apt install nodejs -y
    • sudo apt-get install gcc g++ make -y
    • verify nodeJS and npm package install using node -v && npm -v command.
  2. Installing angular version 11

    • sudo npm install -g @angular/cli@11
    • Verify angular cli installation using following command ng --version
  3. Clone package.

    • git clone https://github.com/vin070/webrtc_call.git
    • run npm i command in cloned repository to install project dependency.
    • run sudo ng serve --ssl in cloned repository.
    • git clone https://github.com/vin070/node_signalling.git to install signalling server.
    • run sudo node server.js in signalling server directory.
    • Navigate to https://localhost:4200. Enjoy and share peer to peer webRTC based call with your friends/colleagues.
    • If you want to make a build after making changes in frontend code, run sudo ng build --prod. All compiled files are available in dist folder under project directory.

Reference

Peer to Peer Architecture

webrtc_call's People

Contributors

vin070 avatar

Watchers

 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.