Is it possible to compress json data in Phoenix.Transports.WebSocket?
Are phoenix channel android and iOS library support gzip compression?
See on MessagePack. And there is a TODO article Binary data over Phoenix sockets. Possibly, you can use that solution, which supports a compression/decompression, too.