| Top |
guint
gst_rtsp_session_pool_get_max_sessions
(GstRTSPSessionPool *pool);
void gst_rtsp_session_pool_set_max_sessions (GstRTSPSessionPool *pool,guint max);
guint
gst_rtsp_session_pool_get_n_sessions (GstRTSPSessionPool *pool);
GstRTSPSession *
gst_rtsp_session_pool_create (GstRTSPSessionPool *pool);
GstRTSPSession * gst_rtsp_session_pool_find (GstRTSPSessionPool *pool,const gchar *sessionid);
gboolean gst_rtsp_session_pool_remove (GstRTSPSessionPool *pool,GstRTSPSession *sess);
gboolean (*GstRTSPSessionPoolFunc) (GstRTSPSessionPool *pool,gpointer user_data);
GSource *
gst_rtsp_session_pool_create_watch (GstRTSPSessionPool *pool);
GstRTSPFilterResult (*GstRTSPSessionPoolFilterFunc) (GstRTSPSessionPool *pool,GstRTSPSession *session,gpointer user_data);
GList * gst_rtsp_session_pool_filter (GstRTSPSessionPool *pool,GstRTSPSessionPoolFilterFunc func,gpointer user_data);
struct GstRTSPSessionPoolClass {
GObjectClass parent_class;
gchar * (*create_session_id) (GstRTSPSessionPool *pool);
GstRTSPSession * (*create_session) (GstRTSPSessionPool *pool, const gchar *id);
/* signals */
void (*session_removed) (GstRTSPSessionPool *pool,
GstRTSPSession *session);
};
“max-sessions” property“max-sessions” guint
the maximum amount of sessions (0 = unlimited).
Flags: Read / Write
Default value: 0
“session-removed” signalvoid user_function (GstRTSPSessionPool *gstrtspsessionpool, GstRTSPSession *arg1, gpointer user_data)
Flags: Run Last