GstRTSPContext

GstRTSPContext — A client request context

Synopsis

struct              GstRTSPContext;
GstRTSPContext *    gst_rtsp_context_get_current        (void);
void                gst_rtsp_context_push_current       (GstRTSPContext *ctx);
void                gst_rtsp_context_pop_current        (GstRTSPContext *ctx);

Object Hierarchy

  gpointer
   +----GstRTSPContext

Description

Last reviewed on 2013-07-11 (1.0.0)

Details

struct GstRTSPContext

struct GstRTSPContext;

Information passed around containing the context of a request.


gst_rtsp_context_get_current ()

GstRTSPContext *    gst_rtsp_context_get_current        (void);

Get the current GstRTSPContext. This object is retrieved from the current thread that is handling the request for a client.

Returns :

a GstRTSPContext

gst_rtsp_context_push_current ()

void                gst_rtsp_context_push_current       (GstRTSPContext *ctx);

Pushes ctx onto the context stack. The current context can then be received using gst_rtsp_context_get_current().

ctx :

a #GstRTSPContext

gst_rtsp_context_pop_current ()

void                gst_rtsp_context_pop_current        (GstRTSPContext *ctx);

Pops ctx off the context stack (verifying that ctx is on the top of the stack).

ctx :

a GstRTSPContext

See Also

GstRTSPServer, GstRTSPClient