A ResoniteModLoader mod for Resonite that reduces outbound network traffic.
This is primarily beneficial for users with poor upload speed, metered internet, and/or users that achieve exceedingly high framerates (144+ fps).
The majority of outbound traffic is caused by value streams and audio streams, the following tweaks are made when you join sessions:
Value streams handle sending information like your visemes and tracking points. Each of these value streams contains a Period value, which determines how many engine updates to wait between sending updates.
The higher your frame rate is, the more often your streams will update.
When you join a session, LiteStreams will double the period of your streams, which cuts the update frequency in half.
When the period is 0, it is left as is because streams with a period of 0 only update as needed instead of being updated at a constant rate.
Your voice stream doesn't send much traffic as is, but LiteStreams reduces the bitrate slightly by default to further reduce outbound traffic.
You can set it back to the default bitrate with the LiteStreams config, or you can reduce the bitrate even further.
Generally, the lower the quality your mic is, the lower bitrate you can get away with.
Audio streams by default will constantly send outbound traffic, even when the input audio is completely silent.
LiteStreams sets a minimum volume on your audio streams, which requires that a certain volume threshold must be met before sending packets.
This effectively stops outbound traffic when the stream is silent.
LiteStreams reduces your outbound traffic by about a third, not including audio streams.
LiteStreams has a greater effect for hosts as the host has to send your traffic to everyone else in the session.
- Install ResoniteModLoader.
- Place LiteStreams.dll into your
rml_modsfolder. This folder should be atC:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_modsfor a default install. You can create it if it's missing, or if you launch the game once with ResoniteModLoader installed it will create the folder for you. - Start the game. If you want to verify that the mod is working you can check your Resonite logs.