GstRTSPSession

GstRTSPSession

Functions

Properties

gchar * sessionid Read / Write / Construct Only
guint timeout Read / Write
gboolean timeout-always-visible Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GstRTSPSession

Description

Functions

gst_rtsp_session_new ()

GstRTSPSession *
gst_rtsp_session_new (const gchar *sessionid);

gst_rtsp_session_get_sessionid ()

const gchar *
gst_rtsp_session_get_sessionid (GstRTSPSession *session);

gst_rtsp_session_get_header ()

gchar *
gst_rtsp_session_get_header (GstRTSPSession *session);

gst_rtsp_session_set_timeout ()

void
gst_rtsp_session_set_timeout (GstRTSPSession *session,
                              guint timeout);

gst_rtsp_session_get_timeout ()

guint
gst_rtsp_session_get_timeout (GstRTSPSession *session);

gst_rtsp_session_touch ()

void
gst_rtsp_session_touch (GstRTSPSession *session);

gst_rtsp_session_prevent_expire ()

void
gst_rtsp_session_prevent_expire (GstRTSPSession *session);

gst_rtsp_session_allow_expire ()

void
gst_rtsp_session_allow_expire (GstRTSPSession *session);

gst_rtsp_session_next_timeout ()

gint
gst_rtsp_session_next_timeout (GstRTSPSession *session,
                               GTimeVal *now);

gst_rtsp_session_is_expired ()

gboolean
gst_rtsp_session_is_expired (GstRTSPSession *session,
                             GTimeVal *now);

gst_rtsp_session_manage_media ()

GstRTSPSessionMedia *
gst_rtsp_session_manage_media (GstRTSPSession *sess,
                               const gchar *path,
                               GstRTSPMedia *media);

gst_rtsp_session_release_media ()

gboolean
gst_rtsp_session_release_media (GstRTSPSession *sess,
                                GstRTSPSessionMedia *media);

gst_rtsp_session_get_media ()

GstRTSPSessionMedia *
gst_rtsp_session_get_media (GstRTSPSession *sess,
                            const gchar *path,
                            gint *matched);

GstRTSPSessionFilterFunc ()

GstRTSPFilterResult
(*GstRTSPSessionFilterFunc) (GstRTSPSession *sess,
                             GstRTSPSessionMedia *media,
                             gpointer user_data);

gst_rtsp_session_filter ()

GList *
gst_rtsp_session_filter (GstRTSPSession *sess,
                         GstRTSPSessionFilterFunc func,
                         gpointer user_data);

Types and Values

struct GstRTSPSession

struct GstRTSPSession;

struct GstRTSPSessionClass

struct GstRTSPSessionClass {
  GObjectClass  parent_class;
};

enum GstRTSPFilterResult

Members

GST_RTSP_FILTER_REMOVE

   

GST_RTSP_FILTER_KEEP

   

GST_RTSP_FILTER_REF

   

Property Details

The “sessionid” property

  “sessionid”                gchar *

the session id.

Flags: Read / Write / Construct Only

Default value: NULL


The “timeout” property

  “timeout”                  guint

the timeout of the session (0 = never).

Flags: Read / Write

Default value: 60


The “timeout-always-visible” property

  “timeout-always-visible”   gboolean

timeout always visible in header.

Flags: Read / Write

Default value: FALSE