--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-rtsp-@GST_API_VERSION@` \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-sdp-@GST_API_VERSION@` \
+ --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-net-@GST_API_VERSION@` \
--library=libgstrtspserver-@GST_API_VERSION@.la \
--include=Gst-@GST_API_VERSION@ \
--include=GstRtsp-@GST_API_VERSION@ \
+ --include=GstNet-@GST_API_VERSION@ \
--libtool="$(top_builddir)/libtool" \
--pkg gstreamer-@GST_API_VERSION@ \
--pkg gstreamer-rtsp-@GST_API_VERSION@ \
+ --pkg gstreamer-net-@GST_API_VERSION@ \
--pkg-export gstreamer-rtsp-server-@GST_API_VERSION@ \
--output $@ \
$(gir_headers) \
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-rtsp-@GST_API_VERSION@` \
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-sdp-@GST_API_VERSION@` \
+ --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-net-@GST_API_VERSION@` \
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
/**
* gst_rtsp_auth_set_tls_certificate:
* @auth: a #GstRTSPAuth
- * @cert: (allow none): a #GTlsCertificate
+ * @cert: (allow-none): a #GTlsCertificate
*
* Set the TLS certificate for the auth. Client connections will only
* be accepted when TLS is negotiated.
/**
* gst_rtsp_auth_set_default_token:
* @auth: a #GstRTSPAuth
- * @token: (allow none): a #GstRTSPToken
+ * @token: (allow-none): a #GstRTSPToken
*
* Set the default #GstRTSPToken to @token in @auth. The default token will
* be used for unauthenticated users.
static GPrivate current_context;
/**
- * gst_rtsp_context_get_current:
+ * gst_rtsp_context_get_current: (skip)
*
* Get the current #GstRTSPContext. This object is retrieved from the
* current thread that is handling the request for a client.
*
* Get the element that was used when constructing @media.
*
- * Returns: a #GstElement. Unref after usage.
+ * Returns: (transfer full): a #GstElement. Unref after usage.
*/
GstElement *
gst_rtsp_media_get_element (GstRTSPMedia * media)
*
* @media must be prepared before this method returns a valid clock object.
*
- * Returns: the #GstClock used by @media. unref after usage.
+ * Returns: (transfer full): the #GstClock used by @media. unref after usage.
*/
GstClock *
gst_rtsp_media_get_clock (GstRTSPMedia * media)
* Get the #GstNetTimeProvider for the clock used by @media. The time provider
* will listen on @address and @port for client time requests.
*
- * Returns: the #GstNetTimeProvider of @media.
+ * Returns: (transfer full): the #GstNetTimeProvider of @media.
*/
GstNetTimeProvider *
gst_rtsp_media_get_time_provider (GstRTSPMedia * media, const gchar * address,
* gst_rtsp_media_set_state:
* @media: a #GstRTSPMedia
* @state: the target state of the media
- * @transports: a #GPtrArray of #GstRTSPStreamTransport pointers
+ * @transports: (element-type GstRtspServer.RTSPStreamTransport): a #GPtrArray
+ * of #GstRTSPStreamTransport pointers
*
* Set the state of @media to @state and for the transports in @transports.
*
* gst_rtsp_mount_points_match:
* @mounts: a #GstRTSPMountPoints
* @path: a mount point
- * @matched: the amount of @path matched
+ * @matched: (out): the amount of @path matched
*
* Find the factory in @mounts that has the longest match with @path.
*
/**
* GstRTSPServerClientFilterFunc:
* @server: a #GstRTSPServer object
- * @sess: a #GstRTSPClient in @server
+ * @client: a #GstRTSPClient in @server
* @user_data: user data that has been given to gst_rtsp_server_client_filter()
*
* This function will be called by the gst_rtsp_server_client_filter(). An
* gst_rtsp_session_media_matches:
* @media: a #GstRTSPSessionMedia
* @path: a path
- * @matched: the amount of matched characters of @path
+ * @matched: (out): the amount of matched characters of @path
*
* Check if the path of @media matches @path. It @path matches, the amount of
* matched characters is returned in @matched.
* gst_rtsp_session_get_media:
* @sess: a #GstRTSPSession
* @path: the path for the media
- * @matched: the amount of matched characters
+ * @matched: (out): the amount of matched characters
*
* Get the session media for @path. @matched will contain the number of matched
* characters of @path.
*
* Get the srcpad associated with @stream.
*
- * Return: the srcpad. Unref after usage.
+ * Returns: (transfer full): the srcpad. Unref after usage.
*/
GstPad *
gst_rtsp_stream_get_srcpad (GstRTSPStream * stream)
*
* Get the control string to identify this stream.
*
- * Return: the control string. free after usage.
+ * Returns: (transfer full): the control string. free after usage.
*/
gchar *
gst_rtsp_stream_get_control (GstRTSPStream * stream)
*
* Get the RTP session of this stream.
*
- * Returns: The RTP session of this stream. Unref after usage.
+ * Returns: (transfer full): The RTP session of this stream. Unref after usage.
*/
GObject *
gst_rtsp_stream_get_rtpsession (GstRTSPStream * stream)