From f00188b50e09bb1f2c8d8225656228b9f4399173 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 20 Jan 2009 19:40:42 +0100 Subject: [PATCH] Add some comments. --- gst/rtsp-server/rtsp-session.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gst/rtsp-server/rtsp-session.h b/gst/rtsp-server/rtsp-session.h index 5ad4b3b..c87a139 100644 --- a/gst/rtsp-server/rtsp-session.h +++ b/gst/rtsp-server/rtsp-session.h @@ -46,7 +46,8 @@ typedef struct _GstRTSPSessionMedia GstRTSPSessionMedia; /** * GstRTSPSessionStream: * - * Configuration of a stream. + * Configuration of a stream. A stream is an audio or video stream related to a + * media. */ struct _GstRTSPSessionStream { @@ -76,7 +77,9 @@ struct _GstRTSPSessionStream /** * GstRTSPSessionMedia: * - * State of a client session regarding a specific media. + * State of a client session regarding a specific media. The media is identified + * with the media factory. The media is typically composed of multiple streams, + * such as an audio and video stream. */ struct _GstRTSPSessionMedia { @@ -103,6 +106,8 @@ struct _GstRTSPSessionMedia * GstRTSPSession: * * Session information kept by the server for a specific client. + * One client session, identified with a session id, can handle multiple medias + * identified with the media factory. */ struct _GstRTSPSession { GObject parent; -- 2.7.4