Title: Compression in RTC Post by: Andrew.W on November 07, 2009, 05:32:19 PM First ;) !
I have a question about client requests. - I'm trying to make assess the size of a request that I'm making of a server via RTC. Compression is enabled, so I can't just measure my inputs. How do I get the size of the (compressed) request to make sure it's not too big? Thanks! Title: Re: Compression in RTC Post by: Henrick (StreamSec) on November 11, 2009, 01:45:17 PM You should use maximum lengths for the uncompressed input as well, and is is a valid assumption that the compressed output is no longer than the input plus a constant.
The reason for checking the length of the uncompressed input is that the server would obviously have to decompress the data you send, and this is the point were it is often most likely to run out of memory. |