Fixed opi_rtsp to use network module

This commit is contained in:
Tuomas Järvinen
2024-07-04 15:51:04 +03:00
parent 0bec8369e3
commit 989fd314f2
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -27,6 +27,5 @@ uint8_t RemoteControl::sendData(uint16_t top, uint16_t left, uint16_t bottom, ui
qDebug("Datagram sent successfully"); qDebug("Datagram sent successfully");
} }
QThread::msleep(100);
return 0; return 0;
} }
+1 -1
View File
@@ -48,7 +48,7 @@ void AiEngine::inferenceResultsReceivedSlot(AiEngineInferenceResult result)
//qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId(); //qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId();
mGimbalControl->inferenceResultSlot(result); mGimbalControl->inferenceResultSlot(result);
//cv::imshow("Received Frame", result.frame); cv::imshow("Received Frame", result.frame);
//#ifndef OPI5_BUILD //#ifndef OPI5_BUILD
//cv::imshow("Received Frame", result.frame); //cv::imshow("Received Frame", result.frame);
+1 -1
View File
@@ -1,4 +1,4 @@
QT += core QT += core network
QT -= gui QT -= gui
CONFIG += c++11 link_pkgconfig concurrent console CONFIG += c++11 link_pkgconfig concurrent console
PKGCONFIG += opencv4 PKGCONFIG += opencv4