浏览代码

1.指令消息回执机制代码暂存

huangxiaodong 1 年之前
父节点
当前提交
ee4b60a050

+ 8 - 0
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -167,6 +167,8 @@
 		6B1CC2C72B677F3E00AD4217 /* extraMediaEventModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B1CC2C52B677F3D00AD4217 /* extraMediaEventModel.m */; };
 		6B1CC2CA2B67A5FC00AD4217 /* USBInsertPopView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B1CC2C82B67A5FC00AD4217 /* USBInsertPopView.h */; };
 		6B1CC2CB2B67A5FC00AD4217 /* USBInsertPopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B1CC2C92B67A5FC00AD4217 /* USBInsertPopView.m */; };
+		6B1CC2CE2B6B6D6B00AD4217 /* commandSendCheckModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B1CC2CC2B6B6D6B00AD4217 /* commandSendCheckModel.h */; };
+		6B1CC2CF2B6B6D6B00AD4217 /* commandSendCheckModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B1CC2CD2B6B6D6B00AD4217 /* commandSendCheckModel.m */; };
 		6B1FBD222B43DAD200926382 /* backupsSetViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B1FBD202B43DAD200926382 /* backupsSetViewController.h */; };
 		6B1FBD232B43DAD200926382 /* backupsSetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B1FBD212B43DAD200926382 /* backupsSetViewController.m */; };
 		6B1FBD262B4503E700926382 /* photosBackupsTaskModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B1FBD242B4503E700926382 /* photosBackupsTaskModel.h */; };
@@ -610,6 +612,8 @@
 		6B1CC2C52B677F3D00AD4217 /* extraMediaEventModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = extraMediaEventModel.m; sourceTree = "<group>"; };
 		6B1CC2C82B67A5FC00AD4217 /* USBInsertPopView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = USBInsertPopView.h; sourceTree = "<group>"; };
 		6B1CC2C92B67A5FC00AD4217 /* USBInsertPopView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = USBInsertPopView.m; sourceTree = "<group>"; };
+		6B1CC2CC2B6B6D6B00AD4217 /* commandSendCheckModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = commandSendCheckModel.h; sourceTree = "<group>"; };
+		6B1CC2CD2B6B6D6B00AD4217 /* commandSendCheckModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = commandSendCheckModel.m; sourceTree = "<group>"; };
 		6B1FBD202B43DAD200926382 /* backupsSetViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = backupsSetViewController.h; sourceTree = "<group>"; };
 		6B1FBD212B43DAD200926382 /* backupsSetViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = backupsSetViewController.m; sourceTree = "<group>"; };
 		6B1FBD242B4503E700926382 /* photosBackupsTaskModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = photosBackupsTaskModel.h; sourceTree = "<group>"; };
@@ -970,6 +974,8 @@
 				6B45C4FC2B57BC87007E6911 /* cloudPhoneExtraFileListModel.m */,
 				6B1CC2C42B677F3D00AD4217 /* extraMediaEventModel.h */,
 				6B1CC2C52B677F3D00AD4217 /* extraMediaEventModel.m */,
+				6B1CC2CC2B6B6D6B00AD4217 /* commandSendCheckModel.h */,
+				6B1CC2CD2B6B6D6B00AD4217 /* commandSendCheckModel.m */,
 			);
 			path = Model;
 			sourceTree = "<group>";
@@ -2025,6 +2031,7 @@
 				184C8AD52A949D5900F26650 /* AboutViewController.h in Headers */,
 				6B0581A22AFCF50300D37290 /* AJPhotoListCell.h in Headers */,
 				187076772A9F400300F15F7F /* PlayerLoadingView.h in Headers */,
+				6B1CC2CE2B6B6D6B00AD4217 /* commandSendCheckModel.h in Headers */,
 				6B0581602AFCD0DF00D37290 /* uploadImageOrVideoViewController.h in Headers */,
 				18F9CB092ABD7835003FF71A /* TipsQRCodeForChangeDeviceViewController.h in Headers */,
 				6B5B60722B3D8098009A2AE2 /* fileTransferPathCheckTableViewCell.h in Headers */,
@@ -2505,6 +2512,7 @@
 				6BF0F3D62AD3937B000AA133 /* DeviceThirdIdModel.m in Sources */,
 				184C8ACD2A94557200F26650 /* HidenMaskSetViewController.m in Sources */,
 				6B5B607B2B3E71B6009A2AE2 /* filePathCreatTableViewCell.m in Sources */,
+				6B1CC2CF2B6B6D6B00AD4217 /* commandSendCheckModel.m in Sources */,
 				18963B472AB84398006E7C50 /* GuideView.m in Sources */,
 				18FCE5452AD136FF0020F623 /* ShortcutManager.m in Sources */,
 				6B0582812B01C67400D37290 /* uploadFileRecordViewController.m in Sources */,

+ 18 - 0
创维盒子/双子星云手机/CloudPlayer/Model/commandSendCheckModel.h

@@ -0,0 +1,18 @@
+//
+//  commandSendCheckModel.h
+//  隐私保护
+//
+//  Created by xd h on 2024/2/1.
+//
+
+#import "SuperModel.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface commandSendCheckModel : SuperModel
+@property (nonatomic, copy) NSString * commandStr;//发送指令
+@property (nonatomic, copy) NSString * type;//类型
+@property (nonatomic, assign) long  sendTimerStamp;//发送的时间戳
+@end
+
+NS_ASSUME_NONNULL_END

+ 12 - 0
创维盒子/双子星云手机/CloudPlayer/Model/commandSendCheckModel.m

@@ -0,0 +1,12 @@
+//
+//  commandSendCheckModel.m
+//  隐私保护
+//
+//  Created by xd h on 2024/2/1.
+//
+
+#import "commandSendCheckModel.h"
+
+@implementation commandSendCheckModel
+
+@end

+ 5 - 1
创维盒子/双子星云手机/CloudPlayer/PlayerViewController.mm

@@ -43,7 +43,7 @@
 #import "PhoneTimeInfoModel.h"
 #import "connectDeviceManager.h"
 #import "ComontAlretViewController.h"
-
+#import "commandSendCheckModel.h"
 
 typedef enum : NSUInteger {
     BITRATE_EXTREME_SPEED = 2,//极速
@@ -123,6 +123,8 @@ ComontAlretViewControllerDelegate>
     NSTimer *forceStartTimer;//请知重启timer
     
     int preIFrameNum;
+    
+    NSMutableArray *commandSendCheckArr;//需要检测任务是否发出的的指令
 }
 @property (nonatomic, strong, nullable) RCVideoRecoderManager *recoderManager;
 @property (nonatomic, strong, nullable) RCAudioRecoderMamager *audioRecoderMamager;
@@ -305,6 +307,8 @@ ComontAlretViewControllerDelegate>
     hidenTextFieldOldStr = nil;
     
     self.webSocketConcentTime = 0;
+    
+    commandSendCheckArr = [NSMutableArray new];
 }
 
 - (void)viewWillAppear:(BOOL)animated {