Showing the changes to interface/src/scripting/ScreenshareScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -23,6 +23,7 @@ · 22 unmodified lines | |||
| 23 | 23 | ||
| 24 | #include "EntityScriptingInterface.h" | 24 | #include "EntityScriptingInterface.h" |
| 25 | #include "ScreenshareScriptingInterface.h" | 25 | #include "ScreenshareScriptingInterface.h" |
| 26 | #include "ExternalResource.h" | ||
| 26 | 27 | ||
| 27 | static const int SCREENSHARE_INFO_REQUEST_RETRY_TIMEOUT_MS = 300; | 28 | static const int SCREENSHARE_INFO_REQUEST_RETRY_TIMEOUT_MS = 300; |
| 28 | ScreenshareScriptingInterface::ScreenshareScriptingInterface() { | 29 | ScreenshareScriptingInterface::ScreenshareScriptingInterface() { |
| @@ -128,8 +129,8 @@ static const uint8_t LOCAL_SCREENSHARE_WEB_ENTITY_FPS = 30; · 99 unmodified lines | |||
| 128 | // The `z` value here is dynamic. | 129 | // The `z` value here is dynamic. |
| 129 | static const glm::vec3 LOCAL_SCREENSHARE_WEB_ENTITY_LOCAL_POSITION(0.0128f, -0.0918f, 0.0f); | 130 | static const glm::vec3 LOCAL_SCREENSHARE_WEB_ENTITY_LOCAL_POSITION(0.0128f, -0.0918f, 0.0f); |
| 130 | static const glm::vec3 LOCAL_SCREENSHARE_WEB_ENTITY_DIMENSIONS(3.6790f, 2.0990f, 0.0100f); | 131 | static const glm::vec3 LOCAL_SCREENSHARE_WEB_ENTITY_DIMENSIONS(3.6790f, 2.0990f, 0.0100f); |
| 131 | static const QString LOCAL_SCREENSHARE_WEB_ENTITY_URL = | 132 | static const QString LOCAL_SCREENSHARE_WEB_ENTITY_URL = ExternalResource::getInstance()->getUrl(ExternalResource::Bucket::Content, |
| 132 | "https://content.highfidelity.com/Experiences/Releases/usefulUtilities/smartBoard/screenshareViewer/screenshareClient.html"; | 133 | "Experiences/Releases/usefulUtilities/smartBoard/screenshareViewer/screenshareClient.html"); |
| 133 | static const QString LOCAL_SCREENSHARE_WEB_ENTITY_HOST_TYPE = "local"; | 134 | static const QString LOCAL_SCREENSHARE_WEB_ENTITY_HOST_TYPE = "local"; |
| 134 | void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZoneID, | 135 | void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZoneID, |
| 135 | const QUuid& smartboardEntityID, | 136 | const QUuid& smartboardEntityID, |