mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +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 };
|
GstRTSPMessage response = { 0 };
|
||||||
gchar *sessid;
|
gchar *sessid;
|
||||||
|
|
||||||
|
state.conn = priv->connection;
|
||||||
state.client = client;
|
state.client = client;
|
||||||
state.request = request;
|
state.request = request;
|
||||||
state.response = &response;
|
state.response = &response;
|
||||||
|
|
|
@ -52,6 +52,7 @@ typedef struct _GstRTSPClientPrivate GstRTSPClientPrivate;
|
||||||
/**
|
/**
|
||||||
* GstRTSPClientState:
|
* GstRTSPClientState:
|
||||||
* @server: the server
|
* @server: the server
|
||||||
|
* @conn: the connection
|
||||||
* @client: the client
|
* @client: the client
|
||||||
* @request: the complete request
|
* @request: the complete request
|
||||||
* @uri: the complete url parsed from @request
|
* @uri: the complete url parsed from @request
|
||||||
|
@ -69,6 +70,7 @@ typedef struct _GstRTSPClientPrivate GstRTSPClientPrivate;
|
||||||
*/
|
*/
|
||||||
struct _GstRTSPClientState {
|
struct _GstRTSPClientState {
|
||||||
GstRTSPServer *server;
|
GstRTSPServer *server;
|
||||||
|
GstRTSPConnection *conn;
|
||||||
GstRTSPClient *client;
|
GstRTSPClient *client;
|
||||||
GstRTSPMessage *request;
|
GstRTSPMessage *request;
|
||||||
GstRTSPUrl *uri;
|
GstRTSPUrl *uri;
|
||||||
|
|
Loading…
Reference in a new issue