* GstRTSPMediaMappingClass:
* @find_media: Create or return a previously cached #GstRTSPMediaFactory object
* for the given url. the default implementation will use the mappings
- * added with gst_rtsp_media_mapping_add_factory ().
+ * added with gst_rtsp_media_mapping_add_factory().
*
* The class for the media mapping object.
*/
/**
* gst_rtsp_media_seek:
- * @stream: a #GstRTSPMediaStream
+ * @media: a #GstRTSPMedia
* @range: a #GstRTSPTimeRange
*
* Seek the pipeline to @range.
/**
* gst_rtsp_media_prepare:
- * @obj: a #GstRTSPMedia
+ * @media: a #GstRTSPMedia
*
* Prepare @media for streaming. This function will create the pipeline and
* other objects to manage the streaming.
/**
* gst_rtsp_media_unprepare:
- * @obj: a #GstRTSPMedia
+ * @media: a #GstRTSPMedia
*
* Unprepare @media. After this call, the media should be prepared again before
* it can be used again. If the media is set to be non-reusable, a new instance
* gst_rtsp_media_set_state:
* @media: a #GstRTSPMedia
* @state: the target state of the media
- * @transports: a GArray of #GstRTSPMediaTrans pointers
+ * @transports: a #GArray of #GstRTSPMediaTrans pointers
*
* Set the state of @media to @state and for the transports in @transports.
*
/**
* GstRTSPMediaStream:
- *
* @srcpad: the srcpad of the stream
* @payloader: the payloader of the format
* @prepared: if the stream is prepared for streaming
* @range: the range of the media being streamed
*
* A class that contains the GStreamer element along with a list of
- * #GstRTSPediaStream objects that can produce data.
+ * #GstRTSPMediaStream objects that can produce data.
*
* This object is usually created from a #GstRTSPMediaFactory.
*/
GstFlowReturn gst_rtsp_media_stream_rtp (GstRTSPMediaStream *stream, GstBuffer *buffer);
GstFlowReturn gst_rtsp_media_stream_rtcp (GstRTSPMediaStream *stream, GstBuffer *buffer);
-gboolean gst_rtsp_media_set_state (GstRTSPMedia *media, GstState state, GArray *trans);
+gboolean gst_rtsp_media_set_state (GstRTSPMedia *media, GstState state, GArray *transports);
void gst_rtsp_media_remove_elements (GstRTSPMedia *media);
/**
* gst_rtsp_sdp_from_media:
- * @sdp: a #GstSDPessage
+ * @sdp: a #GstSDPMessage
* @info: info
* @media: a #GstRTSPMedia
*
* The function will be called when the pool must be cleaned up because one or
* more sessions timed out.
*
- * Returns: %FALSe if the source should be removed.
+ * Returns: %FALSE if the source should be removed.
*/
typedef gboolean (*GstRTSPSessionPoolFunc) (GstRTSPSessionPool *pool, gpointer user_data);
/**
* gst_rtsp_session_manage_media:
* @sess: a #GstRTSPSession
- * @url: the url for the media
- * @media: a #GstRTSPMediaObject
+ * @uri: the uri for the media
+ * @media: a #GstRTSPMedia
*
- * Manage the media object @obj in @sess. @url will be used to retrieve this
+ * Manage the media object @obj in @sess. @uri will be used to retrieve this
* media from the session with gst_rtsp_session_get_media().
*
* Ownership is taken from @media.
/**
* gst_rtsp_session_release_media:
* @sess: a #GstRTSPSession
- * @media: a #GstRTSPMediaObject
+ * @media: a #GstRTSPMedia
*
* Release the managed @media in @sess, freeing the memory allocated by it.
*
GstRTSPSessionMedia *media);
/* get media in a session */
GstRTSPSessionMedia * gst_rtsp_session_get_media (GstRTSPSession *sess,
- const GstRTSPUrl *uri);
+ const GstRTSPUrl *url);
/* control media */
gboolean gst_rtsp_session_media_set_state (GstRTSPSessionMedia *media, GstState state);