mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
client: expose connection
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697546
This commit is contained in:
parent
3ba1342906
commit
825d6f0b51
2 changed files with 18 additions and 0 deletions
|
@ -2054,6 +2054,23 @@ gst_rtsp_client_get_uri (GstRTSPClient * client)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_rtsp_client_get_connection:
|
||||||
|
* @client: a #GstRTSPClient
|
||||||
|
*
|
||||||
|
* Get the #GstRTSPConnection of @client.
|
||||||
|
*
|
||||||
|
* Returns: (transfer none): the #GstRTSPConnection of @client.
|
||||||
|
* The connection object returned remains valid until the client is freed.
|
||||||
|
*/
|
||||||
|
GstRTSPConnection *
|
||||||
|
gst_rtsp_client_get_connection (GstRTSPClient * client)
|
||||||
|
{
|
||||||
|
g_return_val_if_fail (GST_IS_RTSP_CLIENT (client), NULL);
|
||||||
|
|
||||||
|
return client->priv->connection;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_client_set_send_func:
|
* gst_rtsp_client_set_send_func:
|
||||||
* @client: a #GstRTSPClient
|
* @client: a #GstRTSPClient
|
||||||
|
|
|
@ -138,6 +138,7 @@ void gst_rtsp_client_set_auth (GstRTSPClient *client,
|
||||||
GstRTSPAuth * gst_rtsp_client_get_auth (GstRTSPClient *client);
|
GstRTSPAuth * gst_rtsp_client_get_auth (GstRTSPClient *client);
|
||||||
|
|
||||||
GstRTSPUrl * gst_rtsp_client_get_uri (GstRTSPClient *client);
|
GstRTSPUrl * gst_rtsp_client_get_uri (GstRTSPClient *client);
|
||||||
|
GstRTSPConnection * gst_rtsp_client_get_connection (GstRTSPClient *client);
|
||||||
|
|
||||||
void gst_rtsp_client_set_send_func (GstRTSPClient *client,
|
void gst_rtsp_client_set_send_func (GstRTSPClient *client,
|
||||||
GstRTSPClientSendFunc func,
|
GstRTSPClientSendFunc func,
|
||||||
|
|
Loading…
Reference in a new issue