History

Prototype for moving content away from hifi infrastructure

Dale Glass committed 6 years ago

Commit c65cc951 parent 68cefda5 files · +213 −4Browse files

Showing the changes to interface/src/scripting/ScreenshareScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

interface/src/scripting/ScreenshareScriptingInterface.cpp+3−2
@@ -23,6 +23,7 @@ · 22 unmodified lines
2323
2424 #include "EntityScriptingInterface.h"
2525 #include "ScreenshareScriptingInterface.h"
26+#include "ExternalResource.h"
2627
2728 static const int SCREENSHARE_INFO_REQUEST_RETRY_TIMEOUT_MS = 300;
2829 ScreenshareScriptingInterface::ScreenshareScriptingInterface() {
@@ -128,8 +129,8 @@ static const uint8_t LOCAL_SCREENSHARE_WEB_ENTITY_FPS = 30; · 99 unmodified lines
128129 // The `z` value here is dynamic.
129130 static const glm::vec3 LOCAL_SCREENSHARE_WEB_ENTITY_LOCAL_POSITION(0.0128f, -0.0918f, 0.0f);
130131 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− "https://content.highfidelity.com/Experiences/Releases/usefulUtilities/smartBoard/screenshareViewer/screenshareClient.html";
132+static const QString LOCAL_SCREENSHARE_WEB_ENTITY_URL = ExternalResource::getInstance()->getUrl(ExternalResource::Bucket::Content,
133+ "Experiences/Releases/usefulUtilities/smartBoard/screenshareViewer/screenshareClient.html");
133134 static const QString LOCAL_SCREENSHARE_WEB_ENTITY_HOST_TYPE = "local";
134135 void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZoneID,
135136 const QUuid& smartboardEntityID,