diff options
Diffstat (limited to 'src/camera/veyeimx287m.cpp')
| -rw-r--r-- | src/camera/veyeimx287m.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/camera/veyeimx287m.cpp b/src/camera/veyeimx287m.cpp index 5b745aa..16ab344 100644 --- a/src/camera/veyeimx287m.cpp +++ b/src/camera/veyeimx287m.cpp @@ -16,7 +16,9 @@ #include <QElapsedTimer> +// orpheus #include "constants.h" +#include "httpservice.h" #include "imagealgos.h" #include "mem_utils.h" #include "pixels.h" @@ -308,6 +310,9 @@ bool VeyeIMX287m::init() if (!initCam()) return false; + if (!initHttpServer()) + return false; + return true; } @@ -620,6 +625,13 @@ bool VeyeIMX287m::initCam() return true; } +bool VeyeIMX287m::initHttpServer() +{ + m_httpServer = std::make_shared<HttpServer>(this); + + return m_httpServer != nullptr; +} + void VeyeIMX287m::dequeueFrameLoop(std::stop_token stopToken) { // std::cout << "VeyeIMX287m: start stream" << std::endl; |
