compressIf

fun compressIf(block: (frame: Frame) -> Boolean)

Indicates if the outgoing frame should be compressed.

Compress the frame only if all conditions passed.