compress

val compress: Boolean = true

Whether the payload may be compressed, when every recipient supports it.

Only applies to whole-payload sends such as io.livekit.android.room.datastream.outgoing.OutgoingDataStreamManager.sendText; incremental streams are never compressed. Compression is additionally skipped unless every recipient advertises io.livekit.android.room.ClientCapability.COMPRESSION_DEFLATE_RAW, and is only kept when it actually makes the payload smaller, so leaving this on is safe.