mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
client: add connection to state
This commit is contained in:
parent
f6674d5c10
commit
e1628a0515
2 changed files with 3 additions and 0 deletions
|
@ -1859,6 +1859,7 @@ handle_request (GstRTSPClient * client, GstRTSPMessage * request)
|
|||
GstRTSPMessage response = { 0 };
|
||||
gchar *sessid;
|
||||
|
||||
state.conn = priv->connection;
|
||||
state.client = client;
|
||||
state.request = request;
|
||||
state.response = &response;
|
||||
|
|
|
@ -52,6 +52,7 @@ typedef struct _GstRTSPClientPrivate GstRTSPClientPrivate;
|
|||
/**
|
||||
* GstRTSPClientState:
|
||||
* @server: the server
|
||||
* @conn: the connection
|
||||
* @client: the client
|
||||
* @request: the complete request
|
||||
* @uri: the complete url parsed from @request
|
||||
|
@ -69,6 +70,7 @@ typedef struct _GstRTSPClientPrivate GstRTSPClientPrivate;
|
|||
*/
|
||||
struct _GstRTSPClientState {
|
||||
GstRTSPServer *server;
|
||||
GstRTSPConnection *conn;
|
||||
GstRTSPClient *client;
|
||||
GstRTSPMessage *request;
|
||||
GstRTSPUrl *uri;
|
||||
|
|
Loading…
Reference in a new issue