fix(media): fix backboard camera display and mdns connection."
This commit is contained in:
@@ -176,14 +176,14 @@ void ClientHandler::sendJsonItem(const QJsonArray& jsonArray, int itemIndex, con
|
||||
if (jsonArray == backBoardTest) {
|
||||
QJsonObject tempItem = jsonArray[itemIndex].toObject();
|
||||
if (tempItem["cmd"] == "VIDEO_TEST") {
|
||||
if (tempItem["val"] == 0) {
|
||||
if (tempItem["val"] == 1 || tempItem["val"] == 2) {
|
||||
isSingleSend = false;
|
||||
isClickedSend = false;
|
||||
isRecvVideoData = true;
|
||||
isStartVideo = true;
|
||||
startReadVideoDataTimer(isBackBoardOrAllBoard);
|
||||
}
|
||||
else if (tempItem["val"] == 1) {
|
||||
else if (tempItem["val"] == 0) {
|
||||
isRecvVideoData = false;
|
||||
isStartVideo = false;
|
||||
stopReadVideoDataTimer(isBackBoardOrAllBoard);
|
||||
|
||||
Reference in New Issue
Block a user