summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3ba1342)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697546
+ * 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:
* @client: a #GstRTSPClient
* @func: a #GstRTSPClientSendFunc
* gst_rtsp_client_set_send_func:
* @client: a #GstRTSPClient
* @func: a #GstRTSPClientSendFunc
GstRTSPAuth * gst_rtsp_client_get_auth (GstRTSPClient *client);
GstRTSPUrl * gst_rtsp_client_get_uri (GstRTSPClient *client);
GstRTSPAuth * gst_rtsp_client_get_auth (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,
GstRTSPClientSendFunc func,
void gst_rtsp_client_set_send_func (GstRTSPClient *client,
GstRTSPClientSendFunc func,