Showing the changes to interface/src/scripting/ScreenshareScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -94,7 +94,7 @@ void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZon · 93 unmodified lines | |||
| 94 | 94 | ||
| 95 | token = answerJSONObject["token"].toString(); | 95 | token = answerJSONObject["token"].toString(); |
| 96 | projectAPIKey = answerJSONObject["projectAPIKey"].toString(); | 96 | projectAPIKey = answerJSONObject["projectAPIKey"].toString(); |
| 97 | sessionID = answerJSONObject["sessionID"].toString(); // hifi-test has Id camel-case. Change for metaverse. | 97 | sessionID = answerJSONObject["sessionID"].toString(); |
| 98 | qDebug() << "token:" << token << " projectAPIKey:" << projectAPIKey << " sessionID: " << sessionID; | 98 | qDebug() << "token:" << token << " projectAPIKey:" << projectAPIKey << " sessionID: " << sessionID; |
| 99 | 99 | ||
| 100 | if (isPresenter) { | 100 | if (isPresenter) { |
| @@ -155,7 +155,6 @@ void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZon · 54 unmodified lines | |||
| 155 | return; | 155 | return; |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | qDebug() << "MN HERE! message:" << message; | ||
| 159 | QByteArray jsonByteArray = QVariant(message).toString().toUtf8(); | 158 | QByteArray jsonByteArray = QVariant(message).toString().toUtf8(); |
| 160 | QJsonDocument jsonObject = QJsonDocument::fromJson(jsonByteArray); | 159 | QJsonDocument jsonObject = QJsonDocument::fromJson(jsonByteArray); |
| 161 | 160 | ||