Add some comments.
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Jan 2009 18:40:42 +0000 (19:40 +0100)
committerWim Taymans <wim@wtay.(none)>
Tue, 20 Jan 2009 18:40:42 +0000 (19:40 +0100)
gst/rtsp-server/rtsp-session.h

index 5ad4b3b..c87a139 100644 (file)
@@ -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;