From 275e2d52a4a1a33025509a8da0efa12756ace7e4 Mon Sep 17 00:00:00 2001 From: Alexander Schrab Date: Wed, 12 Jun 2013 10:56:16 +0200 Subject: [PATCH] use local address, not remote, in SDP See https://bugzilla.gnome.org/show_bug.cgi?id=702063 --- gst/rtsp-server/rtsp-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index fec3ff3726..6d67ff9a3b 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -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);