Commit 6526c720 authored by Youness Alaoui's avatar Youness Alaoui

Fix compilation errors as a result of the rebase

parent b48f8e6c
...@@ -1230,9 +1230,11 @@ priv_send_create_permission(TurnPriv *priv, uint8_t *realm, gsize realm_len, ...@@ -1230,9 +1230,11 @@ priv_send_create_permission(TurnPriv *priv, uint8_t *realm, gsize realm_len,
msg_buf_len, (gchar *) msg->buffer); msg_buf_len, (gchar *) msg->buffer);
if (nice_socket_is_reliable (priv->base_socket)) { if (nice_socket_is_reliable (priv->base_socket)) {
stun_timer_start_reliable (&msg->timer); stun_timer_start_reliable (&msg->timer,
STUN_TIMER_DEFAULT_RELIABLE_TIMEOUT);
} else { } else {
stun_timer_start (&msg->timer); stun_timer_start (&msg->timer, STUN_TIMER_DEFAULT_TIMEOUT,
STUN_TIMER_DEFAULT_MAX_RETRANSMISSIONS);
} }
priv_schedule_tick (priv); priv_schedule_tick (priv);
......
...@@ -103,7 +103,7 @@ typedef enum { ...@@ -103,7 +103,7 @@ typedef enum {
STUN_USAGE_TURN_COMPATIBILITY_DRAFT9, STUN_USAGE_TURN_COMPATIBILITY_DRAFT9,
STUN_USAGE_TURN_COMPATIBILITY_GOOGLE, STUN_USAGE_TURN_COMPATIBILITY_GOOGLE,
STUN_USAGE_TURN_COMPATIBILITY_MSN, STUN_USAGE_TURN_COMPATIBILITY_MSN,
STUN_USAGE_TURN_COMPATIBILITY_OC2007 STUN_USAGE_TURN_COMPATIBILITY_OC2007,
STUN_USAGE_TURN_COMPATIBILITY_RFC5766, STUN_USAGE_TURN_COMPATIBILITY_RFC5766,
} StunUsageTurnCompatibility; } StunUsageTurnCompatibility;
......
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