use local address, not remote, in SDP
authorAlexander Schrab <alexas@axis.com>
Wed, 12 Jun 2013 08:56:16 +0000 (10:56 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 14 Jun 2013 13:52:14 +0000 (15:52 +0200)
See https://bugzilla.gnome.org/show_bug.cgi?id=702063

gst/rtsp-server/rtsp-client.c

index fec3ff3..6d67ff9 100644 (file)
@@ -2095,7 +2095,7 @@ gst_rtsp_client_set_connection (GstRTSPClient * client,
 
   read_socket = gst_rtsp_connection_get_read_socket (conn);
 
-  if (!(address = g_socket_get_remote_address (read_socket, &error)))
+  if (!(address = g_socket_get_local_address (read_socket, &error)))
     goto no_address;
 
   g_free (priv->server_ip);