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.
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.
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.