use local address, not remote, in SDP

See https://bugzilla.gnome.org/show_bug.cgi?id=702063
This commit is contained in:
Alexander Schrab 2013-06-12 10:56:16 +02:00 committed by Wim Taymans
parent 1bd497309c
commit 275e2d52a4

View 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);