'LibLinphone 5.x cannot encode "gzip" content

Im using Linphone SDK 5.x and try to get compressed data(gzip) from my server(by notify). the header is set to Content-Encoding: gzip however its cannot encode it with this warning: "WARNING belle_sip_memory_body_handler_unapply_encoding: unknown encoding 'gzip'"

enter image description here

this is working with the previous Linphone SDK 3.x, am I missing something?



Solution 1:[1]

First check that your linphone-sdk was built with ZLIB dependency. Then replace the Content-Encoding in your NOTIFY from "gzip" to "deflate".

Cheers,

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Viish