[farsight2/master] Match renaming of enum
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:34 PST 2008
---
transmitters/nice/fs-nice-stream-transmitter.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index f62ce96..4255e1c 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -815,7 +815,7 @@ fs_nice_stream_transmitter_set_relay_info (FsNiceStreamTransmitter *self,
{
const gchar *username, *password, *ip;
const gchar *relay_type_string;
- NiceRelayType relay_type = NICE_RELAY_TYPE_UDP;
+ NiceRelayType relay_type = NICE_RELAY_TYPE_TURN_UDP;
guint port;
ip = gst_structure_get_string (s, "ip");
@@ -827,9 +827,9 @@ fs_nice_stream_transmitter_set_relay_info (FsNiceStreamTransmitter *self,
if (relay_type_string)
{
if (!g_ascii_strcasecmp(relay_type_string, "tcp"))
- relay_type = NICE_RELAY_TYPE_TCP;
+ relay_type = NICE_RELAY_TYPE_TURN_TCP;
else if (!g_ascii_strcasecmp(relay_type_string, "tls"))
- relay_type = NICE_RELAY_TYPE_TLS;
+ relay_type = NICE_RELAY_TYPE_TURN_TLS;
}
nice_agent_set_relay_info(self->priv->agent->agent,
--
1.5.6.5
More information about the farsight-commits
mailing list