Skip to content

Latest commit

 

History

History
executable file
·
36 lines (23 loc) · 1.23 KB

readme.md

File metadata and controls

executable file
·
36 lines (23 loc) · 1.23 KB

Three js Video Chat

This is a simple example of rendering a local and remote video stream in a three dimensional environment using WebRTC, Node.js, Socket.io and Three.js. This example is put together using Hiren Kavad's PeerChat and Lee Stemkoski's Three.js Webcam-Texture example. PeerChat has been modified to also work with Mozilla Firefox

ScreenShot

If you want to run on your server

  • Clone to your machine
  • run npm install from your CLI
  • Add Turn Server API Key to script tag of index.html
  • If you don't have API Key you can get it for free on TurnServers.com
  • run node server.js command
  • Open localhost:3000 in two tabs/windows
  • And You Go....

To Do

  • Fix cross-browser bugs between Firefox and Chrome
  • Put username/room inputs back (currently hardcoded for debugging purposes)

Authors

  • Zachary Stenger

  • Hiren Kavad

License

This bundle is dual-licensed under MIT and GPL licenses.

Use it, change it, fork it, sell it. Do whatever you want, but please leave the author attribution.