mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
use local address, not remote, in SDP
See https://bugzilla.gnome.org/show_bug.cgi?id=702063
This commit is contained in:
parent
1bd497309c
commit
275e2d52a4
1 changed files with 1 additions and 1 deletions
|
@ -2095,7 +2095,7 @@ gst_rtsp_client_set_connection (GstRTSPClient * client,
|
||||||
|
|
||||||
read_socket = gst_rtsp_connection_get_read_socket (conn);
|
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;
|
goto no_address;
|
||||||
|
|
||||||
g_free (priv->server_ip);
|
g_free (priv->server_ip);
|
||||||
|
|
Loading…
Reference in a new issue