/VOIC

πŸ“ž A simple video call application between 2 or more peers.

Primary LanguageJavaScriptMIT LicenseMIT

VOIC

πŸ“ Table of Contents

πŸ“™ About

  • VOIC is a video call app between 2 or more peers which depends fully on internet connection and camera/audio permissions.

πŸ” Approach

  • A connection is established between the user joined and the socket using socket-io which interacts with the express server. A random room is automatically generated using uuid. The application runs with events which we set on the socket such as user-connected, user-disconnected, join-room, etc.. The user-connected and the join-room event are emitted whenever a user connects to the webpage. We also use PeerJS to create the connection between users with dynamic IDs.

πŸ’» Built Using

  • HTML
  • CSS
  • JavaScript
  • ExpressJS
  • Socket-io
  • PeerJS


  • Clone the repository.
    git clone https://github.com/AbdelrahmanHamdyy/VOIC
    
  • Initialize NPM.
    npm init -y
    
  • Download Packages.
    npm i express ejs socket.io uuid
    
  • Install nodemon.
    npm i --save-dev nodemon
    
  • Start the nodemon server.
    npm run devStart
    
  • Open a new terminal and install PeerJS.
    npm i -g peer
    
  • Start the PeerJS server.
    peerjs --port 3001
    

    Go to localhost:3000
    Copy & paste url elsewhere for a new user to join


    πŸ“· Screenshots

    Black Screen is a video.


    Contributors

    Abdelrahman Hamdy
    Abdelrahman Hamdy

    License

    This software is licensed under MIT License, See License for more information Β©AbdelrahmanHamdyy.