Commit 093b50e7 authored by Youness Alaoui's avatar Youness Alaoui Committed by Olivier Crête

Fix TCP TURN for Google compatibility. Message length was sent uninitialized

parent 5eafd297
......@@ -253,6 +253,7 @@ socket_send_message (NiceSocket *sock, const NiceAddress *to,
local_message.n_buffers = n_bufs + 1;
if (priv->compatibility == NICE_TURN_SOCKET_COMPATIBILITY_GOOGLE) {
header_buf = htons (output_message_get_size (message));
local_bufs[0].buffer = &header_buf;
local_bufs[0].size = sizeof (header_buf);
offset = 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment