mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-15 13:52:28 +00:00
Log launch, resume, and quit responses
This commit is contained in:
parent
6c523570e5
commit
cbd42f4a58
1 changed files with 6 additions and 0 deletions
|
@ -181,6 +181,8 @@ NvHTTP::launchApp(int appId,
|
|||
"&gcmap="+QString::number(gamepadMask),
|
||||
LAUNCH_TIMEOUT_MS);
|
||||
|
||||
qInfo() << "Launch response:" << response;
|
||||
|
||||
// Throws if the request failed
|
||||
verifyResponseStatus(response);
|
||||
}
|
||||
|
@ -201,6 +203,8 @@ NvHTTP::resumeApp(PSTREAM_CONFIGURATION streamConfig)
|
|||
"&surroundAudioInfo="+QString::number(SURROUNDAUDIOINFO_FROM_AUDIO_CONFIGURATION(streamConfig->audioConfiguration)),
|
||||
RESUME_TIMEOUT_MS);
|
||||
|
||||
qInfo() << "Resume response:" << response;
|
||||
|
||||
// Throws if the request failed
|
||||
verifyResponseStatus(response);
|
||||
}
|
||||
|
@ -214,6 +218,8 @@ NvHTTP::quitApp()
|
|||
nullptr,
|
||||
QUIT_TIMEOUT_MS);
|
||||
|
||||
qInfo() << "Quit response:" << response;
|
||||
|
||||
// Throws if the request failed
|
||||
verifyResponseStatus(response);
|
||||
|
||||
|
|
Loading…
Reference in a new issue