imperiojs Library

A library that bridges the gap between mobile and desktop

Get Started »

Control

We provide methods to read from the sharing device and send accelerometer, gyroscope, and gps data. All emitter methods will dynamically switch between WebSockets and WebRTC for sending data.

Connect

The library is set up to use WebSockets and optionally WebRTC. The listening device (desktop) will create a unique room that emitting devices (mobile) join when they load the page.

Authorize

Several methods of authorization between clients have been implemented. These authorization methods can be used as a route or a passcode to approve clients in a socket room.

Fork me on GitHub