This page is not the current release of O3DE documentation. Click here to switch to the latest release, or select a version from the dropdown.

Version:

Multiplayer Compression

The Multiplayer Compression Gem provides an LZ4 based implementation of AzNetworking::ICompressor and AzNetworking::ICompressorFactory . The Gem registers the provided compressor factory with the O3DE System Networking Component. To use the Gem and its related compressor, add it to your project and set the cvars net_UdpCompressor and net_TcpCompressor to MultiplayerCompressor.

Caution:
This Gem is intended as an example of how to implement a compressor. It is strongly recommended to write a compressor (or compressors) that meets the needs of your traffic.