Commit de92aecd authored by Sebastian Dröge's avatar Sebastian Dröge 🍵 Committed by Tim-Philipp Müller

rtsp-server: Add various Since: 1.14 markers

parent 5bef031d
......@@ -2398,6 +2398,8 @@ gst_rtsp_media_get_status (GstRTSPMedia * media)
* gst_rtsp_media_prepare().
*
* Returns: %TRUE on success.
*
* Since: 1.14
*/
gboolean
gst_rtsp_media_seek_full (GstRTSPMedia * media, GstRTSPTimeRange * range,
......@@ -4225,7 +4227,7 @@ gst_rtsp_media_get_transport_mode (GstRTSPMedia * media)
}
/**
* gst_rtsp_media_get_seekable:
* gst_rtsp_media_seekable:
* @media: a #GstRTSPMedia
*
* Check if the pipeline for @media seek and up to what point in time,
......@@ -4234,6 +4236,8 @@ gst_rtsp_media_get_transport_mode (GstRTSPMedia * media)
* Returns: -1 if the stream is not seekable, 0 if seekable only to the beginning
* and > 0 to indicate the longest duration between any two random access points.
* %G_MAXINT64 means any value is possible.
*
* Since: 1.14
*/
GstClockTimeDiff
gst_rtsp_media_seekable (GstRTSPMedia * media)
......@@ -4263,6 +4267,8 @@ gst_rtsp_media_seekable (GstRTSPMedia * media)
* SETUP.
*
* Returns: %TRUE if the media pipeline has been sucessfully updated.
*
* Since: 1.14
*/
gboolean
gst_rtsp_media_complete_pipeline (GstRTSPMedia * media, GPtrArray * transports)
......
......@@ -181,6 +181,20 @@ cleanup:
}
}
/**
* gst_rtsp_sdp_make_media:
* @sdp: a #GstRTSPMessage
* @info: a #GstSDPInfo
* @stream: a #GstRTSPStream
* @caps: a #GstCaps
* @profile: a #GstRTSPProfile
*
* Creates a #GstSDPMedia from the parameters and stores it in @sdp.
*
* Returns: %TRUE on success
*
* Since: 1.14
*/
gboolean
gst_rtsp_sdp_make_media (GstSDPMessage * sdp, GstSDPInfo * info,
GstRTSPStream * stream, GstCaps * caps, GstRTSPProfile profile)
......
......@@ -415,6 +415,8 @@ gst_rtsp_session_media_get_transport (GstRTSPSessionMedia * media, guint idx)
*
* Returns: (transfer full) (element-type GstRTSPStreamTransport): a
* list of #GstRTSPStreamTransport, g_ptr_array_unref () after usage.
*
* Since: 1.14
*/
GPtrArray *
gst_rtsp_session_media_get_transports (GstRTSPSessionMedia * media)
......
......@@ -3971,6 +3971,7 @@ gst_rtsp_stream_get_rtcp_socket (GstRTSPStream * stream, GSocketFamily family)
* Get the multicast RTP socket from @stream for a @family.
*
* Returns: (transfer full) (nullable): the multicast RTP socket or %NULL if no
*
* socket could be allocated for @family. Unref after usage
*/
GSocket *
......@@ -4005,6 +4006,8 @@ gst_rtsp_stream_get_rtp_multicast_socket (GstRTSPStream * stream,
*
* Returns: (transfer full) (nullable): the multicast RTCP socket or %NULL if no
* socket could be allocated for @family. Unref after usage
*
* Since: 1.14
*/
GSocket *
gst_rtsp_stream_get_rtcp_multicast_socket (GstRTSPStream * stream,
......@@ -4262,6 +4265,8 @@ gst_rtsp_stream_set_blocked (GstRTSPStream * stream, gboolean blocked)
* Unblocks the dataflow on @stream if it is linked.
*
* Returns: %TRUE on success
*
* Since: 1.14
*/
gboolean
gst_rtsp_stream_unblock_linked (GstRTSPStream * stream)
......@@ -4478,6 +4483,8 @@ gst_rtsp_stream_query_stop (GstRTSPStream * stream, gint64 * stop)
* Checks whether the individual @stream is seekable.
*
* Returns: %TRUE if @stream is seekable, else %FALSE.
*
* Since: 1.14
*/
gboolean
gst_rtsp_stream_seekable (GstRTSPStream * stream)
......@@ -4532,6 +4539,8 @@ beach:
* SETUP.
*
* Returns: %TRUE if the stream has been sucessfully updated.
*
* Since: 1.14
*/
gboolean
gst_rtsp_stream_complete_stream (GstRTSPStream * stream,
......@@ -4580,6 +4589,8 @@ unallowed_transport:
* seek operations on it.
*
* Returns: %TRUE if the stream contains at least one sink element.
*
* Since: 1.14
*/
gboolean
gst_rtsp_stream_is_complete (GstRTSPStream * stream)
......@@ -4604,6 +4615,8 @@ gst_rtsp_stream_is_complete (GstRTSPStream * stream)
* Checks whether the stream is a sender.
*
* Returns: %TRUE if the stream is a sender and %FALSE otherwise.
*
* Since: 1.14
*/
gboolean
gst_rtsp_stream_is_sender (GstRTSPStream * stream)
......@@ -4628,6 +4641,8 @@ gst_rtsp_stream_is_sender (GstRTSPStream * stream)
* Checks whether the stream is a receiver.
*
* Returns: %TRUE if the stream is a receiver and %FALSE otherwise.
*
* Since: 1.14
*/
gboolean
gst_rtsp_stream_is_receiver (GstRTSPStream * stream)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment