diff --git a/libgamestream/client.c b/libgamestream/client.c index 488cbb8..8e1e28f 100644 --- a/libgamestream/client.c +++ b/libgamestream/client.c @@ -706,6 +706,14 @@ int gs_start_app(PSERVER_DATA server, STREAM_CONFIGURATION *config, int appId, b goto cleanup; } + free(result); + result = NULL; + + if (xml_search(data->memory, data->size, "sessionUrl0", &result) == GS_OK) { + server->serverInfo.rtspSessionUrl = result; + result = NULL; + } + cleanup: if (result != NULL) free(result); diff --git a/libgamestream/client.h b/libgamestream/client.h index f4d6c25..6a1bc62 100644 --- a/libgamestream/client.h +++ b/libgamestream/client.h @@ -29,7 +29,6 @@ #define MAX_SUPPORTED_GFE_VERSION 7 typedef struct _SERVER_DATA { - const char* address; char* gpuType; bool paired; bool supports4K;