Skip to content

maximblack/collabos-webrtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collabos-webrtc

How to start the project:

  • Install dependencies using yarn or npm install
  • Edit config/index.js to set host and port
  • Start the api server using: yarn server
  • Start the development frontend using webpack: yarn dev
  • Access page through your browser, default: http://localhost:8003

How to use it:

  • Login in 2 different tabs or browsers, or pc's with different login names
  • All participants will appear in list
  • Call, Answer, Reject, Destroy each other requests

Gotchas:

  • The login is fake, so just write in dummy login and password
  • The tests are absent, cause basically, entire application is browser dependent and the global navigator.getUserMedia is not availble on node

Future plans:

  • Add nightwatch (selenium) tests
  • Add MongoDB or other database, and do the login part using JWT or sessions
  • Try different WebRTC library
  • Add support for building and minifying all source code

Libraries, features used:

  • React
  • peer.js
  • isomorphic-fetch
  • Webpack
  • styled-components
  • express

About

Simple WebRTC example based on peer.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published