webrtc: Fix log when adding stun server
authorAli Yousuf <aly.yousuf7@gmail.com>
Mon, 20 May 2019 11:34:55 +0000 (16:34 +0500)
committerMatthew Waters <matthew@centricular.com>
Tue, 4 Jun 2019 07:54:25 +0000 (07:54 +0000)
ext/webrtc/gstwebrtcice.c

index 04c559a..45c9ead 100644 (file)
@@ -411,9 +411,8 @@ _add_stun_server (GstWebRTCICE * ice, GstUri * stun_server)
   gchar *ip = NULL;
   guint port;
 
-  GST_DEBUG_OBJECT (ice, "adding stun server, %s", s);
-
   s = gst_uri_to_string (stun_server);
+  GST_DEBUG_OBJECT (ice, "adding stun server, %s", s);
 
   host = gst_uri_get_host (stun_server);
   if (!host) {