Commit 92b17624 authored by Youness Alaoui's avatar Youness Alaoui

rename NICE_RELAY_TYPE_* into NICE_RELAY_TYPE_TURN_*

parent 277f6198
...@@ -714,7 +714,7 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent, ...@@ -714,7 +714,7 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
if (modified_list) { if (modified_list) {
cdisco->type = NICE_CANDIDATE_TYPE_RELAYED; cdisco->type = NICE_CANDIDATE_TYPE_RELAYED;
if (turn->type == NICE_RELAY_TYPE_UDP) { if (turn->type == NICE_RELAY_TYPE_TURN_UDP) {
cdisco->nicesock = host_candidate->sockptr; cdisco->nicesock = host_candidate->sockptr;
} else { } else {
Component *component = stream_find_component_by_id (stream, Component *component = stream_find_component_by_id (stream,
......
...@@ -65,9 +65,9 @@ typedef enum ...@@ -65,9 +65,9 @@ typedef enum
} NiceCandidateTransport; } NiceCandidateTransport;
typedef enum { typedef enum {
NICE_RELAY_TYPE_UDP, NICE_RELAY_TYPE_TURN_UDP,
NICE_RELAY_TYPE_TCP, NICE_RELAY_TYPE_TURN_TCP,
NICE_RELAY_TYPE_TLS NICE_RELAY_TYPE_TURN_TLS
} NiceRelayType; } NiceRelayType;
......
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