client: add connection to state

This commit is contained in:
Wim Taymans 2013-07-12 12:36:40 +02:00
parent f6674d5c10
commit e1628a0515
2 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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;