mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-04 00:36:36 +00:00
Log launch, resume, and quit responses
This commit is contained in:
parent
6c523570e5
commit
cbd42f4a58
@ -181,6 +181,8 @@ NvHTTP::launchApp(int appId,
|
|||||||
"&gcmap="+QString::number(gamepadMask),
|
"&gcmap="+QString::number(gamepadMask),
|
||||||
LAUNCH_TIMEOUT_MS);
|
LAUNCH_TIMEOUT_MS);
|
||||||
|
|
||||||
|
qInfo() << "Launch response:" << response;
|
||||||
|
|
||||||
// Throws if the request failed
|
// Throws if the request failed
|
||||||
verifyResponseStatus(response);
|
verifyResponseStatus(response);
|
||||||
}
|
}
|
||||||
@ -201,6 +203,8 @@ NvHTTP::resumeApp(PSTREAM_CONFIGURATION streamConfig)
|
|||||||
"&surroundAudioInfo="+QString::number(SURROUNDAUDIOINFO_FROM_AUDIO_CONFIGURATION(streamConfig->audioConfiguration)),
|
"&surroundAudioInfo="+QString::number(SURROUNDAUDIOINFO_FROM_AUDIO_CONFIGURATION(streamConfig->audioConfiguration)),
|
||||||
RESUME_TIMEOUT_MS);
|
RESUME_TIMEOUT_MS);
|
||||||
|
|
||||||
|
qInfo() << "Resume response:" << response;
|
||||||
|
|
||||||
// Throws if the request failed
|
// Throws if the request failed
|
||||||
verifyResponseStatus(response);
|
verifyResponseStatus(response);
|
||||||
}
|
}
|
||||||
@ -214,6 +218,8 @@ NvHTTP::quitApp()
|
|||||||
nullptr,
|
nullptr,
|
||||||
QUIT_TIMEOUT_MS);
|
QUIT_TIMEOUT_MS);
|
||||||
|
|
||||||
|
qInfo() << "Quit response:" << response;
|
||||||
|
|
||||||
// Throws if the request failed
|
// Throws if the request failed
|
||||||
verifyResponseStatus(response);
|
verifyResponseStatus(response);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user