GithubHelp home page GithubHelp logo

mehditeymorian / webrtc-video-call Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 4.0 415 KB

Video calling using WebRTC

Go 48.38% HTML 51.50% Makefile 0.11%
webrtc video-call golang websocket signal-server peer-to-peer webrtc-signaling webrtc-demo webrtc-video

webrtc-video-call's Introduction

webrtc-video-call

This project is a video calling application using WebRTC technology. It contains minimum requirements to provide a group video call. WebRTC is a free and open-source project providing web browsers and mobile applications with real-time communication via application programming interfaces.

Project Sections.

WebRTC is direct peer-to-peer connection which is done using WebRTC API in browsers and mobile applications. But for starting a group call, it requires a mechnaism to share peers address and connectivity information with each other. This mechanism is called Signaling Server. It keeps an open connection with each peer to exchange peers' address, connectivity info, and room events.

This project uses Websockets to keep an open connection with peers. Also there are HTTP endpoints for room management.
Whenever a peer joins in a room, a join event send to other peers in the room, then other peers create offers and sent it to new peer; The new peer answer the offer and a connection takes place(it is a lot more complicated than this, please read official documents and take a look at code to uderstand more).

How to run

The frontend is a collection of html files served as static files. build and run the project and you are good to go.

  • Create or Join Room -> ADDRESS/
  • Room -> ADDRESS/room?roomId=[ROOM-ID]&name=[PEER-NAME]

Demo

create

room

webrtc-video-call's People

Contributors

mehditeymorian avatar

Stargazers

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

Watchers

 avatar  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.