Log launch, resume, and quit responses

This commit is contained in:
Cameron Gutman 2021-07-02 01:18:57 -05:00
parent 6c523570e5
commit cbd42f4a58

View file

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