diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index bcf8b89dfd..38fffb894c 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -2132,7 +2132,7 @@ no_address: } /** - * gst_rtsp_client_create_from_socket: + * gst_rtsp_client_use_socket: * @client: a #GstRTSPClient * @socket: a #GSocket * @ip: the IP address of the remote client diff --git a/gst/rtsp-server/rtsp-client.h b/gst/rtsp-server/rtsp-client.h index 80c6dc8a0c..71a28adc9c 100644 --- a/gst/rtsp-server/rtsp-client.h +++ b/gst/rtsp-server/rtsp-client.h @@ -155,7 +155,7 @@ gboolean gst_rtsp_client_accept (GstRTSPClient *client, GCancellable *cancellable, GError **error); -gboolean gst_rtsp_client_create_from_socket(GstRTSPClient * client, +gboolean gst_rtsp_client_use_socket (GstRTSPClient * client, GSocket *socket, const gchar * ip, gint port,