The batch delay will basically always trigger for motion reports that contain both accel and gyro data (like PS4/PS5 controllers) because we will report accel and gyro data within 1 ms every time. This gets even worse when multiple controllers are connected and reporting motion data. There shouldn't be any real need to batch these because they're unreliable sequenced packets, so we can just remove the delay.
Moonlight Streaming Core Library
Moonlight-common-c contains the core GameStream client code shared between Moonlight clients, including Moonlight PC, Moonlight Android, Moonlight iOS, and Moonlight Chrome.
If you are implementing your own Moonlight game streaming client that can use a C library, you probably want the code here.
Note to Developers
Moonlight-common-c requires the specific version of ENet that is bundled as a submodule. This version has changes required for IPv6 compatibility and retransmission reliability, among other things. These are breaking API/ABI changes which make Moonlight-common-c incompatible with other versions of the ENet library. Attempting to runtime link to another libenet library will cause your client to crash when connecting to recent versions of GeForce Experience.