How to send binary typed arrays through websocket?

Suppose I want to make a first-person shooter with Meteor (suppose, using A-Frame for rendering), manipulated with, let’s suppose, Blaze.

We want the network communication to be FAST. Suppose we want to store game data in our own binary format.

WebSockets support sending typed array data. Is there a way to do this in Meteor?

I would suggest you to have a look on this:

1 Like

I’ll recommend to use WebRTC/DC for this purpose.

With WebRTC there’s no central authoritative server from which to, for example, prevent cheating in multiplayer games.

That looks awesome, I will check it out. And the subscriptions, seems perfect. Multiplayer clients can send binary, then server will broadcast the updated info (player location, etc) to all other clients. Thanks!