Pass RTSP session URL to moonlight-common-c

This commit is contained in:
Cameron Gutman 2021-07-25 14:22:39 -05:00
parent fb57f3cb4d
commit 1478d69123
2 changed files with 8 additions and 1 deletions

View File

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

View File

@ -29,7 +29,6 @@
#define MAX_SUPPORTED_GFE_VERSION 7
typedef struct _SERVER_DATA {
const char* address;
char* gpuType;
bool paired;
bool supports4K;