Some small changes to the electron app were required for compatibility with the leaner proto messages sent by protobuf-es (specifically, protobuf-es generates compliant protobufs that elide the zero value, but protobufjs decodes these as undefined instead of the zero value).
Additionally, some code was added to send only the most recent frame across the internet, and to round the values to be less granular + only send updates when these rounded values have changed.
Some small changes to the electron app were required for compatibility with the leaner proto messages sent by protobuf-es (specifically, protobuf-es generates compliant protobufs that elide the zero value, but protobufjs decodes these as undefined instead of the zero value).
Additionally, some code was added to send only the most recent frame across the internet, and to round the values to be less granular + only send updates when these rounded values have changed.