Top | ![]() |
![]() |
![]() |
![]() |
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.
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()
.
void
gst_rtsp_context_pop_current (GstRTSPContext *ctx
);
Pops ctx
off the context stack (verifying that ctx
is on the top of the stack).
struct GstRTSPContext { GstRTSPServer *server; GstRTSPConnection *conn; GstRTSPClient *client; GstRTSPMessage *request; GstRTSPUrl *uri; GstRTSPMethod method; GstRTSPAuth *auth; GstRTSPToken *token; GstRTSPSession *session; GstRTSPSessionMedia *sessmedia; GstRTSPMediaFactory *factory; GstRTSPMedia *media; GstRTSPStream *stream; GstRTSPMessage *response; };
Information passed around containing the context of a request.
GstRTSPServer * |
the server |
|
the connection |
||
GstRTSPClient * |
the client |
|
the complete request |
||
the complete url parsed from |
||
the parsed method of |
||
GstRTSPAuth * |
the current auth object or |
|
GstRTSPToken * |
authorisation token |
|
GstRTSPSession * |
the session, can be |
|
GstRTSPSessionMedia * |
the session media for the url can be |
|
GstRTSPMediaFactory * |
the media factory for the url, can be |
|
GstRTSPMedia * |
the media for the url can be |
|
GstRTSPStream * |
the stream for the url can be |
|
the response |