Skip to content

kitzeller/node-wss-osc-deviceorientation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket/OSC/Device Sample

  1. replace vengeance.local with your ip or <your-hostname>.local
  2. install and run mkcert (for Windows I used chocolatey) make sure you add <your-hostname>.local to the cert

e.g. mkcert -key-file key.pem -cert-file cert.pem localhost 127.0.0.1 <your-hostname>.local

  1. replace the key and cert in index.js with your file names (make sure they are in the root project folder)
  2. run npm install
  3. access https://<your-hostname>.local:3333 on a web browser on your mobile phone
  4. click the Get Accelerometer Permissions button
  5. watch the device orientation data come in on your node.js server!

About

Node.js https websocket for client device orientation data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published