Top | ![]() |
![]() |
![]() |
![]() |
enum | GstRTSPThreadType |
struct | GstRTSPThread |
struct | GstRTSPThreadPool |
struct | GstRTSPThreadPoolClass |
gint
gst_rtsp_thread_pool_get_max_threads (GstRTSPThreadPool *pool
);
void gst_rtsp_thread_pool_set_max_threads (GstRTSPThreadPool *pool
,gint max_threads
);
GstRTSPThread * gst_rtsp_thread_pool_get_thread (GstRTSPThreadPool *pool
,GstRTSPThreadType type
,GstRTSPContext *ctx
);
struct GstRTSPThread { GstMiniObject mini_object; GstRTSPThreadType type; GMainContext *context; GMainLoop *loop; };
struct GstRTSPThreadPoolClass { GObjectClass parent_class; GThreadPool *pool; GstRTSPThread * (*get_thread) (GstRTSPThreadPool *pool, GstRTSPThreadType type, GstRTSPContext *ctx); void (*configure_thread) (GstRTSPThreadPool *pool, GstRTSPThread * thread, GstRTSPContext *ctx); void (*thread_enter) (GstRTSPThreadPool *pool, GstRTSPThread *thread); void (*thread_leave) (GstRTSPThreadPool *pool, GstRTSPThread *thread); };
“max-threads”
property“max-threads” gint
The maximum amount of threads to use for client connections (0 = only mainloop, -1 = unlimited).
Flags: Read / Write
Allowed values: >= -1
Default value: 1