Sfoglia il codice sorgente

1.同步--1.去掉瑞云
2.去掉旧的推流和指令相关代码

huangxiaodong 6 mesi fa
parent
commit
e4533995ab
100 ha cambiato i file con 1041 aggiunte e 11491 eliminazioni
  1. 1 1
      创维盒子/Podfile
  2. 1 8
      创维盒子/Podfile.lock
  3. 0 1
      创维盒子/Pods/Headers/Private/RayProxy/RaylinkProxy.h
  4. 0 1
      创维盒子/Pods/Headers/Public/RayProxy/RayProxy-umbrella.h
  5. 0 1
      创维盒子/Pods/Headers/Public/RayProxy/RayProxy.modulemap
  6. 0 1
      创维盒子/Pods/Headers/Public/RayProxy/RaylinkProxy.h
  7. 1 8
      创维盒子/Pods/Manifest.lock
  8. 977 1230
      创维盒子/Pods/Pods.xcodeproj/project.pbxproj
  9. 0 58
      创维盒子/Pods/Pods.xcodeproj/xcuserdata/xdh.xcuserdatad/xcschemes/RayProxy.xcscheme
  10. 0 5
      创维盒子/Pods/Pods.xcodeproj/xcuserdata/xdh.xcuserdatad/xcschemes/xcschememanagement.plist
  11. 1 3
      创维盒子/Pods/Target Support Files/Pods-双子星云手机Tests/Pods-双子星云手机Tests.debug.xcconfig
  12. 1 3
      创维盒子/Pods/Target Support Files/Pods-双子星云手机Tests/Pods-双子星云手机Tests.release.xcconfig
  13. 3 5
      创维盒子/Pods/Target Support Files/Pods-计算器/Pods-计算器.debug.xcconfig
  14. 3 5
      创维盒子/Pods/Target Support Files/Pods-计算器/Pods-计算器.release.xcconfig
  15. 3 5
      创维盒子/Pods/Target Support Files/Pods-隐私保护-双子星云手机UITests/Pods-隐私保护-双子星云手机UITests.debug.xcconfig
  16. 3 5
      创维盒子/Pods/Target Support Files/Pods-隐私保护-双子星云手机UITests/Pods-隐私保护-双子星云手机UITests.release.xcconfig
  17. 3 5
      创维盒子/Pods/Target Support Files/Pods-隐私保护/Pods-隐私保护.debug.xcconfig
  18. 3 5
      创维盒子/Pods/Target Support Files/Pods-隐私保护/Pods-隐私保护.release.xcconfig
  19. 0 5
      创维盒子/Pods/Target Support Files/RayProxy/RayProxy-dummy.m
  20. 0 12
      创维盒子/Pods/Target Support Files/RayProxy/RayProxy-prefix.pch
  21. 0 17
      创维盒子/Pods/Target Support Files/RayProxy/RayProxy-umbrella.h
  22. 0 14
      创维盒子/Pods/Target Support Files/RayProxy/RayProxy.debug.xcconfig
  23. 0 6
      创维盒子/Pods/Target Support Files/RayProxy/RayProxy.modulemap
  24. 0 14
      创维盒子/Pods/Target Support Files/RayProxy/RayProxy.release.xcconfig
  25. 0 180
      创维盒子/双子星云手机.xcodeproj/project.pbxproj
  26. BIN
      创维盒子/双子星云手机.xcworkspace/xcuserdata/xdh.xcuserdatad/UserInterfaceState.xcuserstate
  27. 11 201
      创维盒子/双子星云手机.xcworkspace/xcuserdata/xdh.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  28. 1 0
      创维盒子/双子星云手机/AppDelegate/AppDelegate.h
  29. 0 1
      创维盒子/双子星云手机/AppDelegate/AppDelegate.m
  30. 10 2
      创维盒子/双子星云手机/AppDelegate/PrefixHeader.pch
  31. 0 24
      创维盒子/双子星云手机/AppDelegate/SceneDelegate.m
  32. 0 8
      创维盒子/双子星云手机/Class/Calculator/CalculatorViewController.m
  33. 0 7
      创维盒子/双子星云手机/Class/Controller/HWWebViewController.m
  34. 0 1
      创维盒子/双子星云手机/Class/Guide/AuthCodeView/AuthCodeInputView.m
  35. 0 12
      创维盒子/双子星云手机/Class/Guide/GuideViewController.m
  36. 0 40
      创维盒子/双子星云手机/Class/Set/MySetViewController.h
  37. 0 1166
      创维盒子/双子星云手机/Class/Set/MySetViewController.m
  38. 1 0
      创维盒子/双子星云手机/Class/Set/appUpdate/AboutViewController.m
  39. 1 1
      创维盒子/双子星云手机/Class/Set/uploadFile/downLoadFile/downLoadPreviewViewController.m
  40. 0 1
      创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/backupsFileManager.h
  41. 2 3
      创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/backupsFileManager.m
  42. 5 5
      创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/downloadManager.m
  43. 1 1
      创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/downloadThumbnailManager.m
  44. 0 1
      创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/uploadFileManager.h
  45. 8 8
      创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/uploadFileManager.m
  46. 0 1
      创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileRecordViewController.m
  47. 1 8
      创维盒子/双子星云手机/Class/Set/view/allVersionView.m
  48. 0 28
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AdjustBtnFrame.h
  49. 0 176
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AdjustBtnFrame.m
  50. 0 26
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AppDelegate.h
  51. 0 192
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AppDelegate.m
  52. 0 19
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+TouchPointXD.h
  53. 0 58
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+TouchPointXD.m
  54. 0 31
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+otherDelegate.h
  55. 0 148
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+otherDelegate.mm
  56. 0 136
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController.h
  57. 0 2391
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController.mm
  58. 0 154
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/BYWebSocket.h
  59. 0 23
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAacToPcmDecoder.h
  60. 0 14
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAudioPlayer.h
  61. 0 31
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAudioRecoderMamager.h
  62. 0 21
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCloudPhoneSDK.h
  63. 0 13
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCommandChannel.h
  64. 0 29
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCommandChannelManager.h
  65. 0 17
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCH264HWDecoder.h
  66. 0 22
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCH265HWDecoder.h
  67. 0 15
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCHWDecode.h
  68. 0 165
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCLiveSteamManager.h
  69. 0 58
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCMAACPlayer.h
  70. 0 28
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCPCMPlayer.h
  71. 0 16
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCRecordManager.h
  72. 0 40
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSaveToH264FileTool.h
  73. 0 43
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSaveToH265FileTool.h
  74. 0 129
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSocketManagerForCloudPhone.h
  75. 0 34
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCVideoRecoderManager.h
  76. 0 63
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCYUVEncoder.h
  77. BIN
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Info.plist
  78. 0 127
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/LICENSE
  79. 0 6
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Modules/module.modulemap
  80. BIN
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/RCCloudPhoneSDK
  81. 0 16
      创维盒子/双子星云手机/NAS/view/errorAlertTool.m
  82. 0 18
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+backupsFile.h
  83. 0 649
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+backupsFile.m
  84. 0 16
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+baseDownload.h
  85. 0 116
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+baseDownload.m
  86. 0 21
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadFile.h
  87. 0 351
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadFile.m
  88. 0 17
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadNasFile.h
  89. 0 211
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadNasFile.m
  90. 0 17
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadThumbnailImage.h
  91. 0 95
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadThumbnailImage.m
  92. 0 20
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+upLoadFile.h
  93. 0 669
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+upLoadFile.m
  94. 0 140
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager.h
  95. 0 1070
      创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager.m
  96. 0 65
      创维盒子/双子星云手机/connectDeviceManager/connectDeviceManager.h
  97. 0 657
      创维盒子/双子星云手机/connectDeviceManager/connectDeviceManager.m
  98. BIN
      创维盒子/双子星云手机/connectDeviceManager/planet.1ali_3ry_peer
  99. 0 1
      创维盒子/双子星云手机/netWork/addLog/addLogObject.m
  100. 0 0
      创维盒子/双子星云手机/netWork/netWorkManager.h

+ 1 - 1
创维盒子/Podfile

@@ -20,7 +20,7 @@ def all_Pods
   #pod 'ZFPlayer/AVPlayer'
   #pod 'ZFPlayer/ijkplayer'
   
-  pod 'RayProxy', :path => './RayProxy'
+  #pod 'RayProxy', :path => './RayProxy'
   pod 'CocoaAsyncSocket'
   
   pod "PLeakSniffer"

+ 1 - 8
创维盒子/Podfile.lock

@@ -43,7 +43,6 @@ PODS:
   - MJExtension (3.4.1)
   - MJRefresh (3.7.5)
   - PLeakSniffer (0.1.0)
-  - RayProxy (0.0.1)
   - SDCycleScrollView (1.82):
     - SDWebImage (>= 5.0.0)
   - SDWebImage (5.13.0):
@@ -66,7 +65,6 @@ DEPENDENCIES:
   - MJExtension
   - MJRefresh
   - PLeakSniffer
-  - RayProxy (from `./RayProxy`)
   - SDCycleScrollView (>= 1.82)
   - TZImagePickerController
   - WechatOpenSDK
@@ -91,10 +89,6 @@ SPEC REPOS:
     - TZImagePickerController
     - WechatOpenSDK
 
-EXTERNAL SOURCES:
-  RayProxy:
-    :path: "./RayProxy"
-
 SPEC CHECKSUMS:
   AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
   Bugly: afe841bba2ea6de6d432a3c125240a5e75949c55
@@ -108,13 +102,12 @@ SPEC CHECKSUMS:
   MJExtension: 21c5f6f8c4d5d8844b7ae8fbae08fed0b501f961
   MJRefresh: fdf5e979eb406a0341468932d1dfc8b7f9fce961
   PLeakSniffer: f7eb13cd3a36150e0a2fd5fe8a33ca83bd2646d4
-  RayProxy: 026b86d1bb05ccdc3eb294b4ff00a8d8b64313dd
   SDCycleScrollView: a0d74c3384caa72bdfc81470bdbc8c14b3e1fbcf
   SDWebImage: 0327043dbb9533e75f2eff8445b3df0f2ceca6ac
   SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
   TZImagePickerController: 679ae9fa11e189a9a81291ae96f0a4463be8edc1
   WechatOpenSDK: 290989072e87b79d52225a01bb4e5e58f6f88593
 
-PODFILE CHECKSUM: 611f032307516146638ff71811a79c77dfbf080b
+PODFILE CHECKSUM: 3c3d5aaf48ce0af7a2c1ec0ff86cdb7465455fe3
 
 COCOAPODS: 1.11.3

+ 0 - 1
创维盒子/Pods/Headers/Private/RayProxy/RaylinkProxy.h

@@ -1 +0,0 @@
-../../../../RayProxy/Classes/RaylinkProxy.h

+ 0 - 1
创维盒子/Pods/Headers/Public/RayProxy/RayProxy-umbrella.h

@@ -1 +0,0 @@
-../../../Target Support Files/RayProxy/RayProxy-umbrella.h

+ 0 - 1
创维盒子/Pods/Headers/Public/RayProxy/RayProxy.modulemap

@@ -1 +0,0 @@
-../../../Target Support Files/RayProxy/RayProxy.modulemap

+ 0 - 1
创维盒子/Pods/Headers/Public/RayProxy/RaylinkProxy.h

@@ -1 +0,0 @@
-../../../../RayProxy/Classes/RaylinkProxy.h

+ 1 - 8
创维盒子/Pods/Manifest.lock

@@ -43,7 +43,6 @@ PODS:
   - MJExtension (3.4.1)
   - MJRefresh (3.7.5)
   - PLeakSniffer (0.1.0)
-  - RayProxy (0.0.1)
   - SDCycleScrollView (1.82):
     - SDWebImage (>= 5.0.0)
   - SDWebImage (5.13.0):
@@ -66,7 +65,6 @@ DEPENDENCIES:
   - MJExtension
   - MJRefresh
   - PLeakSniffer
-  - RayProxy (from `./RayProxy`)
   - SDCycleScrollView (>= 1.82)
   - TZImagePickerController
   - WechatOpenSDK
@@ -91,10 +89,6 @@ SPEC REPOS:
     - TZImagePickerController
     - WechatOpenSDK
 
-EXTERNAL SOURCES:
-  RayProxy:
-    :path: "./RayProxy"
-
 SPEC CHECKSUMS:
   AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
   Bugly: afe841bba2ea6de6d432a3c125240a5e75949c55
@@ -108,13 +102,12 @@ SPEC CHECKSUMS:
   MJExtension: 21c5f6f8c4d5d8844b7ae8fbae08fed0b501f961
   MJRefresh: fdf5e979eb406a0341468932d1dfc8b7f9fce961
   PLeakSniffer: f7eb13cd3a36150e0a2fd5fe8a33ca83bd2646d4
-  RayProxy: 026b86d1bb05ccdc3eb294b4ff00a8d8b64313dd
   SDCycleScrollView: a0d74c3384caa72bdfc81470bdbc8c14b3e1fbcf
   SDWebImage: 0327043dbb9533e75f2eff8445b3df0f2ceca6ac
   SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
   TZImagePickerController: 679ae9fa11e189a9a81291ae96f0a4463be8edc1
   WechatOpenSDK: 290989072e87b79d52225a01bb4e5e58f6f88593
 
-PODFILE CHECKSUM: 611f032307516146638ff71811a79c77dfbf080b
+PODFILE CHECKSUM: 3c3d5aaf48ce0af7a2c1ec0ff86cdb7465455fe3
 
 COCOAPODS: 1.11.3

File diff suppressed because it is too large
+ 977 - 1230
创维盒子/Pods/Pods.xcodeproj/project.pbxproj


+ 0 - 58
创维盒子/Pods/Pods.xcodeproj/xcuserdata/xdh.xcuserdatad/xcschemes/RayProxy.xcscheme

@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "1240"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6C49FD1F1E09696FFCE1F5CDEE4BBEF7"
-               BuildableName = "libRayProxy.a"
-               BlueprintName = "RayProxy"
-               ReferencedContainer = "container:Pods.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <Testables>
-      </Testables>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>

+ 0 - 5
创维盒子/Pods/Pods.xcodeproj/xcuserdata/xdh.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -79,11 +79,6 @@
 			<key>isShown</key>
 			<false/>
 		</dict>
-		<key>RayProxy.xcscheme</key>
-		<dict>
-			<key>isShown</key>
-			<false/>
-		</dict>
 		<key>SDCycleScrollView.xcscheme</key>
 		<dict>
 			<key>isShown</key>

File diff suppressed because it is too large
+ 1 - 3
创维盒子/Pods/Target Support Files/Pods-双子星云手机Tests/Pods-双子星云手机Tests.debug.xcconfig


File diff suppressed because it is too large
+ 1 - 3
创维盒子/Pods/Target Support Files/Pods-双子星云手机Tests/Pods-双子星云手机Tests.release.xcconfig


File diff suppressed because it is too large
+ 3 - 5
创维盒子/Pods/Target Support Files/Pods-计算器/Pods-计算器.debug.xcconfig


File diff suppressed because it is too large
+ 3 - 5
创维盒子/Pods/Target Support Files/Pods-计算器/Pods-计算器.release.xcconfig


File diff suppressed because it is too large
+ 3 - 5
创维盒子/Pods/Target Support Files/Pods-隐私保护-双子星云手机UITests/Pods-隐私保护-双子星云手机UITests.debug.xcconfig


File diff suppressed because it is too large
+ 3 - 5
创维盒子/Pods/Target Support Files/Pods-隐私保护-双子星云手机UITests/Pods-隐私保护-双子星云手机UITests.release.xcconfig


File diff suppressed because it is too large
+ 3 - 5
创维盒子/Pods/Target Support Files/Pods-隐私保护/Pods-隐私保护.debug.xcconfig


File diff suppressed because it is too large
+ 3 - 5
创维盒子/Pods/Target Support Files/Pods-隐私保护/Pods-隐私保护.release.xcconfig


+ 0 - 5
创维盒子/Pods/Target Support Files/RayProxy/RayProxy-dummy.m

@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_RayProxy : NSObject
-@end
-@implementation PodsDummy_RayProxy
-@end

+ 0 - 12
创维盒子/Pods/Target Support Files/RayProxy/RayProxy-prefix.pch

@@ -1,12 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-

+ 0 - 17
创维盒子/Pods/Target Support Files/RayProxy/RayProxy-umbrella.h

@@ -1,17 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-
-#import "RaylinkProxy.h"
-
-FOUNDATION_EXPORT double RayProxyVersionNumber;
-FOUNDATION_EXPORT const unsigned char RayProxyVersionString[];
-

+ 0 - 14
创维盒子/Pods/Target Support Files/RayProxy/RayProxy.debug.xcconfig

@@ -1,14 +0,0 @@
-CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/RayProxy
-DEFINES_MODULE = YES
-EXCLUDED_ARCHS[sdk=iphonesimulator*] = i386
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/RayProxy" "${PODS_ROOT}/Headers/Public" ${PODS_ROOT}/../RayProxy/include/
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/../RayProxy
-PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
-USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

+ 0 - 6
创维盒子/Pods/Target Support Files/RayProxy/RayProxy.modulemap

@@ -1,6 +0,0 @@
-module RayProxy {
-  umbrella header "RayProxy-umbrella.h"
-
-  export *
-  module * { export * }
-}

+ 0 - 14
创维盒子/Pods/Target Support Files/RayProxy/RayProxy.release.xcconfig

@@ -1,14 +0,0 @@
-CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/RayProxy
-DEFINES_MODULE = YES
-EXCLUDED_ARCHS[sdk=iphonesimulator*] = i386
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/RayProxy" "${PODS_ROOT}/Headers/Public" ${PODS_ROOT}/../RayProxy/include/
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/../RayProxy
-PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
-USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

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

@@ -81,7 +81,6 @@
 		184C8ADE2A949DBD00F26650 /* HWVersionModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 184C8ADC2A949DBD00F26650 /* HWVersionModel.m */; };
 		18664FF52AC2B3A4008F8A61 /* ShearDeviceUDPManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 18664FF32AC2B3A4008F8A61 /* ShearDeviceUDPManager.m */; };
 		18664FF62AC2B3A4008F8A61 /* ShearDeviceUDPManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 18664FF42AC2B3A4008F8A61 /* ShearDeviceUDPManager.h */; };
-		18664FFF2AC2C908008F8A61 /* RCCloudPhoneSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18664FFE2AC2C908008F8A61 /* RCCloudPhoneSDK.framework */; };
 		1866F99E2A136DC700B31E22 /* iPhone.m in Sources */ = {isa = PBXBuildFile; fileRef = 1866F99C2A136DC600B31E22 /* iPhone.m */; };
 		186820192AB94877005702A6 /* GuideLastView.h in Headers */ = {isa = PBXBuildFile; fileRef = 186820172AB94877005702A6 /* GuideLastView.h */; };
 		1868201A2AB94877005702A6 /* GuideLastView.m in Sources */ = {isa = PBXBuildFile; fileRef = 186820182AB94877005702A6 /* GuideLastView.m */; };
@@ -105,8 +104,6 @@
 		18BA24882AA5C57900BA01EE /* RSATool.m in Sources */ = {isa = PBXBuildFile; fileRef = 18BA24862AA5C57900BA01EE /* RSATool.m */; };
 		18BB18412AC417CB00A36F63 /* RYShearDeviceUDPManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 18BB183F2AC417CB00A36F63 /* RYShearDeviceUDPManager.h */; };
 		18BB18422AC417CB00A36F63 /* RYShearDeviceUDPManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 18BB18402AC417CB00A36F63 /* RYShearDeviceUDPManager.m */; };
-		18C4754F2A8E0DB5006129C0 /* MySetViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18C4754D2A8E0DB5006129C0 /* MySetViewController.h */; };
-		18C475502A8E0DB5006129C0 /* MySetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C4754E2A8E0DB5006129C0 /* MySetViewController.m */; };
 		18E557212A3C5D75005CC84B /* Calculator.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E5571B2A3C5D75005CC84B /* Calculator.m */; };
 		18E557222A3C5D75005CC84B /* CalculatorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E5571D2A3C5D75005CC84B /* CalculatorViewController.m */; };
 		18E557232A3C5D75005CC84B /* NSString+FloatHandle.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E5571F2A3C5D75005CC84B /* NSString+FloatHandle.m */; };
@@ -125,16 +122,8 @@
 		18F9CB072ABD7835003FF71A /* QRCodeScanForChangeDeviceViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18F9CB032ABD7835003FF71A /* QRCodeScanForChangeDeviceViewController.h */; };
 		18F9CB082ABD7835003FF71A /* QRCodeScanForChangeDeviceViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18F9CB042ABD7835003FF71A /* QRCodeScanForChangeDeviceViewController.m */; };
 		18F9CB092ABD7835003FF71A /* TipsQRCodeForChangeDeviceViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18F9CB052ABD7835003FF71A /* TipsQRCodeForChangeDeviceViewController.h */; };
-		18FCE5382AD1351B0020F623 /* PlayerViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE5362AD1351A0020F623 /* PlayerViewController.mm */; };
-		18FCE5392AD1351B0020F623 /* PlayerViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE5372AD1351B0020F623 /* PlayerViewController.h */; };
-		18FCE53E2AD136670020F623 /* PlayerViewController+AdjustBtnFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE53A2AD136650020F623 /* PlayerViewController+AdjustBtnFrame.h */; };
-		18FCE53F2AD136670020F623 /* PlayerViewController+TouchPointXD.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE53B2AD136650020F623 /* PlayerViewController+TouchPointXD.h */; };
-		18FCE5402AD136670020F623 /* PlayerViewController+TouchPointXD.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE53C2AD136660020F623 /* PlayerViewController+TouchPointXD.m */; };
-		18FCE5412AD136670020F623 /* PlayerViewController+AdjustBtnFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE53D2AD136660020F623 /* PlayerViewController+AdjustBtnFrame.m */; };
 		18FCE5442AD136FF0020F623 /* ShortcutManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE5422AD136FE0020F623 /* ShortcutManager.h */; };
 		18FCE5452AD136FF0020F623 /* ShortcutManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE5432AD136FF0020F623 /* ShortcutManager.m */; };
-		18FCE5482AD15E750020F623 /* PlayerViewController+AppDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE5462AD15E730020F623 /* PlayerViewController+AppDelegate.h */; };
-		18FCE5492AD15E750020F623 /* PlayerViewController+AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE5472AD15E750020F623 /* PlayerViewController+AppDelegate.m */; };
 		5D9E1B185552EF17AE8B5F24 /* libPods-计算器.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CAE4E9905D1AB335F8657436 /* libPods-计算器.a */; };
 		6B05815B2AFC851E00D37290 /* mySetHeadView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B0581592AFC851E00D37290 /* mySetHeadView.h */; };
 		6B05815C2AFC851E00D37290 /* mySetHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B05815A2AFC851E00D37290 /* mySetHeadView.m */; };
@@ -681,8 +670,6 @@
 		6B78FD302CD4727E00E1A8B2 /* cloudPhoneModelViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B78FD2E2CD4727E00E1A8B2 /* cloudPhoneModelViewController.m */; };
 		6B78FD312CD4727E00E1A8B2 /* cloudPhoneModelViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B78FD2D2CD4727E00E1A8B2 /* cloudPhoneModelViewController.h */; };
 		6B78FD322CD4727E00E1A8B2 /* cloudPhoneModelViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B78FD2E2CD4727E00E1A8B2 /* cloudPhoneModelViewController.m */; };
-		6B7B65582AD9227700BE8CB3 /* PlayerViewController+otherDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7B65562AD9227700BE8CB3 /* PlayerViewController+otherDelegate.h */; };
-		6B7B65592AD9227700BE8CB3 /* PlayerViewController+otherDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 6B7B65572AD9227700BE8CB3 /* PlayerViewController+otherDelegate.mm */; };
 		6B7DDF262C421DA900EBDFDD /* previewVideoLandscapeTopMoreView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7DDF242C421DA900EBDFDD /* previewVideoLandscapeTopMoreView.h */; };
 		6B7DDF272C421DA900EBDFDD /* previewVideoLandscapeTopMoreView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7DDF252C421DA900EBDFDD /* previewVideoLandscapeTopMoreView.m */; };
 		6B7DDF282C421DA900EBDFDD /* previewVideoLandscapeTopMoreView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7DDF242C421DA900EBDFDD /* previewVideoLandscapeTopMoreView.h */; };
@@ -707,10 +694,6 @@
 		6B7E04352C3E5A98004B4948 /* NSURLSession+customDownloadTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7E04252C3E5A97004B4948 /* NSURLSession+customDownloadTask.h */; };
 		6B7E04362C3E5A98004B4948 /* NSURLSession+customDownloadTask.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7E04262C3E5A97004B4948 /* NSURLSession+customDownloadTask.m */; };
 		6B7E04372C3E5A98004B4948 /* NSURLSession+customDownloadTask.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7E04262C3E5A97004B4948 /* NSURLSession+customDownloadTask.m */; };
-		6B7E043A2C3E6BBC004B4948 /* webSocketManager+downloadNasFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7E04382C3E6BBC004B4948 /* webSocketManager+downloadNasFile.h */; };
-		6B7E043B2C3E6BBC004B4948 /* webSocketManager+downloadNasFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7E04392C3E6BBC004B4948 /* webSocketManager+downloadNasFile.m */; };
-		6B7E043C2C3E6BBC004B4948 /* webSocketManager+downloadNasFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7E04392C3E6BBC004B4948 /* webSocketManager+downloadNasFile.m */; };
-		6B7E043D2C3E6BBC004B4948 /* webSocketManager+downloadNasFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7E04382C3E6BBC004B4948 /* webSocketManager+downloadNasFile.h */; };
 		6B7E04432C3EA65A004B4948 /* previewLandscapeTopView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7E04412C3EA65A004B4948 /* previewLandscapeTopView.h */; };
 		6B7E04442C3EA65A004B4948 /* previewLandscapeTopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7E04422C3EA65A004B4948 /* previewLandscapeTopView.m */; };
 		6B7E04452C3EA65A004B4948 /* previewLandscapeTopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7E04422C3EA65A004B4948 /* previewLandscapeTopView.m */; };
@@ -895,30 +878,6 @@
 		6BC7413B2C23C8870049BA8D /* cloudPhoneViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC741392C23C8860049BA8D /* cloudPhoneViewController.m */; };
 		6BC7413C2C23C8870049BA8D /* cloudPhoneViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC741382C23C8860049BA8D /* cloudPhoneViewController.h */; };
 		6BC7413D2C23C8870049BA8D /* cloudPhoneViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC741392C23C8860049BA8D /* cloudPhoneViewController.m */; };
-		6BC741402C23DCD10049BA8D /* webSocketManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC7413E2C23DCD10049BA8D /* webSocketManager.h */; };
-		6BC741412C23DCD10049BA8D /* webSocketManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC7413F2C23DCD10049BA8D /* webSocketManager.m */; };
-		6BC741422C23DCD10049BA8D /* webSocketManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC7413E2C23DCD10049BA8D /* webSocketManager.h */; };
-		6BC741432C23DCD10049BA8D /* webSocketManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC7413F2C23DCD10049BA8D /* webSocketManager.m */; };
-		6BC741462C24097E0049BA8D /* webSocketManager+baseDownload.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC741442C24097E0049BA8D /* webSocketManager+baseDownload.h */; };
-		6BC741472C24097E0049BA8D /* webSocketManager+baseDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC741452C24097E0049BA8D /* webSocketManager+baseDownload.m */; };
-		6BC741482C24097E0049BA8D /* webSocketManager+baseDownload.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC741442C24097E0049BA8D /* webSocketManager+baseDownload.h */; };
-		6BC741492C24097E0049BA8D /* webSocketManager+baseDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC741452C24097E0049BA8D /* webSocketManager+baseDownload.m */; };
-		6BC7414C2C240A670049BA8D /* webSocketManager+downloadFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC7414A2C240A670049BA8D /* webSocketManager+downloadFile.h */; };
-		6BC7414D2C240A670049BA8D /* webSocketManager+downloadFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC7414B2C240A670049BA8D /* webSocketManager+downloadFile.m */; };
-		6BC7414E2C240A670049BA8D /* webSocketManager+downloadFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC7414A2C240A670049BA8D /* webSocketManager+downloadFile.h */; };
-		6BC7414F2C240A670049BA8D /* webSocketManager+downloadFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC7414B2C240A670049BA8D /* webSocketManager+downloadFile.m */; };
-		6BC741522C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC741502C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.h */; };
-		6BC741532C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC741512C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.m */; };
-		6BC741542C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC741502C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.h */; };
-		6BC741552C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC741512C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.m */; };
-		6BC741582C2413B20049BA8D /* webSocketManager+upLoadFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC741562C2413B20049BA8D /* webSocketManager+upLoadFile.h */; };
-		6BC741592C2413B20049BA8D /* webSocketManager+upLoadFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC741572C2413B20049BA8D /* webSocketManager+upLoadFile.m */; };
-		6BC7415A2C2413B20049BA8D /* webSocketManager+upLoadFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC741562C2413B20049BA8D /* webSocketManager+upLoadFile.h */; };
-		6BC7415B2C2413B20049BA8D /* webSocketManager+upLoadFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC741572C2413B20049BA8D /* webSocketManager+upLoadFile.m */; };
-		6BC7415E2C24150C0049BA8D /* webSocketManager+backupsFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC7415C2C24150C0049BA8D /* webSocketManager+backupsFile.h */; };
-		6BC7415F2C24150C0049BA8D /* webSocketManager+backupsFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC7415D2C24150C0049BA8D /* webSocketManager+backupsFile.m */; };
-		6BC741602C24150C0049BA8D /* webSocketManager+backupsFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BC7415C2C24150C0049BA8D /* webSocketManager+backupsFile.h */; };
-		6BC741612C24150C0049BA8D /* webSocketManager+backupsFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BC7415D2C24150C0049BA8D /* webSocketManager+backupsFile.m */; };
 		6BD5069D2B9576A4006E7CB0 /* NSArray+Log.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B21709A2B15CDB400656670 /* NSArray+Log.h */; };
 		6BD5069E2B9576A4006E7CB0 /* CustomerWebViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 184C8ACE2A94980C00F26650 /* CustomerWebViewController.h */; };
 		6BD5069F2B9576A4006E7CB0 /* forgetSecretKeyViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BFF26972AFA16D900FCB4F7 /* forgetSecretKeyViewController.h */; };
@@ -952,7 +911,6 @@
 		6BD506BE2B9576A4006E7CB0 /* diskListBgView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B45C50A2B5FA80E007E6911 /* diskListBgView.h */; };
 		6BD506BF2B9576A4006E7CB0 /* privacyModeViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B21708F2B15BAE700656670 /* privacyModeViewController.h */; };
 		6BD506C02B9576A4006E7CB0 /* backupsFilerecordTableView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B1FBD382B467A8000926382 /* backupsFilerecordTableView.h */; };
-		6BD506C12B9576A4006E7CB0 /* connectDeviceManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF0F3CE2AD391D8000AA133 /* connectDeviceManager.h */; };
 		6BD506C22B9576A4006E7CB0 /* AuthCodeInputView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BFF26932AF9D8CC00FCB4F7 /* AuthCodeInputView.h */; };
 		6BD506C32B9576A4006E7CB0 /* extraMediaEventModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B1CC2C42B677F3D00AD4217 /* extraMediaEventModel.h */; };
 		6BD506C42B9576A4006E7CB0 /* filePathCreatTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B5B60782B3E71B6009A2AE2 /* filePathCreatTableViewCell.h */; };
@@ -960,9 +918,6 @@
 		6BD506C62B9576A4006E7CB0 /* privacyModeTipViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B21709E2B15D39900656670 /* privacyModeTipViewController.h */; };
 		6BD506C72B9576A4006E7CB0 /* ChangeLogoViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 181E84F92A8F57A500292B96 /* ChangeLogoViewController.h */; };
 		6BD506C82B9576A4006E7CB0 /* fileSetTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B5B60682B3D67B2009A2AE2 /* fileSetTableViewCell.h */; };
-		6BD506C92B9576A4006E7CB0 /* MySetViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18C4754D2A8E0DB5006129C0 /* MySetViewController.h */; };
-		6BD506CA2B9576A4006E7CB0 /* PlayerViewController+TouchPointXD.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE53B2AD136650020F623 /* PlayerViewController+TouchPointXD.h */; };
-		6BD506CB2B9576A4006E7CB0 /* PlayerViewController+AdjustBtnFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE53A2AD136650020F623 /* PlayerViewController+AdjustBtnFrame.h */; };
 		6BD506CC2B9576A4006E7CB0 /* mySetHeadView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B0581592AFC851E00D37290 /* mySetHeadView.h */; };
 		6BD506CD2B9576A4006E7CB0 /* PlayerControlButTipView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF52CAB2AD82EA500A617DB /* PlayerControlButTipView.h */; };
 		6BD506CE2B9576A4006E7CB0 /* backupsFileManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B1FBD282B452B3800926382 /* backupsFileManager.h */; };
@@ -975,13 +930,11 @@
 		6BD506D52B9576A4006E7CB0 /* uploadFileRecordEditBottomView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B72724D2B0B58E500C03F87 /* uploadFileRecordEditBottomView.h */; };
 		6BD506D62B9576A4006E7CB0 /* HWVersionModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 184C8ADB2A949DBD00F26650 /* HWVersionModel.h */; };
 		6BD506D72B9576A4006E7CB0 /* photoPreViewBottomView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B05826D2AFF692700D37290 /* photoPreViewBottomView.h */; };
-		6BD506D82B9576A4006E7CB0 /* PlayerViewController+otherDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7B65562AD9227700BE8CB3 /* PlayerViewController+otherDelegate.h */; };
 		6BD506D92B9576A4006E7CB0 /* couldPhoneBaseInfoModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7272552B0DAF7600C03F87 /* couldPhoneBaseInfoModel.h */; };
 		6BD506DA2B9576A4006E7CB0 /* QRCodeScanViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 1868201F2AB98600005702A6 /* QRCodeScanViewController.h */; };
 		6BD506DB2B9576A4006E7CB0 /* downloadFileBottomView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B5D40312B4BE358000965CF /* downloadFileBottomView.h */; };
 		6BD506DC2B9576A4006E7CB0 /* backupsSetViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B1FBD202B43DAD200926382 /* backupsSetViewController.h */; };
 		6BD506DD2B9576A4006E7CB0 /* uploadFileRecordheadView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B8FF6B72B04E19600800981 /* uploadFileRecordheadView.h */; };
-		6BD506DE2B9576A4006E7CB0 /* PlayerViewController+AppDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE5462AD15E730020F623 /* PlayerViewController+AppDelegate.h */; };
 		6BD506DF2B9576A4006E7CB0 /* uploadFileRecordTableViewHeadView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B7272492B0AF59200C03F87 /* uploadFileRecordTableViewHeadView.h */; };
 		6BD506E02B9576A4006E7CB0 /* uploadFileRecordTableView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B72725D2B0E240F00C03F87 /* uploadFileRecordTableView.h */; };
 		6BD506E12B9576A4006E7CB0 /* MineViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 181E84F52A8F451D00292B96 /* MineViewCell.h */; };
@@ -1024,7 +977,6 @@
 		6BD507082B9576A4006E7CB0 /* ModifyPWDSecondViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18F9CAFD2ABD3643003FF71A /* ModifyPWDSecondViewController.h */; };
 		6BD507092B9576A4006E7CB0 /* inputPWDViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF52C9F2AD7C2F600A617DB /* inputPWDViewController.h */; };
 		6BD5070A2B9576A4006E7CB0 /* WHPingTester.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF52C922AD5546500A617DB /* WHPingTester.h */; };
-		6BD5070B2B9576A4006E7CB0 /* PlayerViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE5372AD1351B0020F623 /* PlayerViewController.h */; };
 		6BD5070C2B9576A4006E7CB0 /* customLaunchView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF52CA42AD7D3BE00A617DB /* customLaunchView.h */; };
 		6BD5070D2B9576A4006E7CB0 /* SafeForKey.h in Headers */ = {isa = PBXBuildFile; fileRef = 183AE7C52A8CB39100B11CB0 /* SafeForKey.h */; };
 		6BD5070E2B9576A4006E7CB0 /* couldPhoneFileListModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B5D40252B4BC402000965CF /* couldPhoneFileListModel.h */; };
@@ -1067,7 +1019,6 @@
 		6BD507352B9576A4006E7CB0 /* HWBookmarkListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A031DD6B27EC1FCD00909527 /* HWBookmarkListCell.m */; };
 		6BD507362B9576A4006E7CB0 /* downLoadPreViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B5D402E2B4BCBC1000965CF /* downLoadPreViewCell.m */; };
 		6BD507372B9576A4006E7CB0 /* JSONModelError.m in Sources */ = {isa = PBXBuildFile; fileRef = 183AE5F12A89CE3C00B11CB0 /* JSONModelError.m */; };
-		6BD507382B9576A4006E7CB0 /* PlayerViewController+otherDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 6B7B65572AD9227700BE8CB3 /* PlayerViewController+otherDelegate.mm */; };
 		6BD507392B9576A4006E7CB0 /* downloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B5D403E2B4CE40F000965CF /* downloadManager.m */; };
 		6BD5073A2B9576A4006E7CB0 /* FMDatabaseQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = A08A94F127E9A4E300C544BB /* FMDatabaseQueue.m */; };
 		6BD5073B2B9576A4006E7CB0 /* customLaunchView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF52CA52AD7D3BE00A617DB /* customLaunchView.m */; };
@@ -1118,7 +1069,6 @@
 		6BD507692B9576A4006E7CB0 /* UIScrollView+EmptyDataSet.m in Sources */ = {isa = PBXBuildFile; fileRef = A003F6BE27D841FF00715CBF /* UIScrollView+EmptyDataSet.m */; };
 		6BD5076A2B9576A4006E7CB0 /* SafeForKey.m in Sources */ = {isa = PBXBuildFile; fileRef = 183AE7C62A8CB39100B11CB0 /* SafeForKey.m */; };
 		6BD5076B2B9576A4006E7CB0 /* JSONModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 183AE5EF2A89CE3C00B11CB0 /* JSONModel.m */; };
-		6BD5076C2B9576A4006E7CB0 /* PlayerViewController+AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE5472AD15E750020F623 /* PlayerViewController+AppDelegate.m */; };
 		6BD5076D2B9576A4006E7CB0 /* WHPingTester.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF52C942AD5546500A617DB /* WHPingTester.m */; };
 		6BD5076E2B9576A4006E7CB0 /* forgetPwdViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BFF268B2AF8E1C600FCB4F7 /* forgetPwdViewController.m */; };
 		6BD5076F2B9576A4006E7CB0 /* uploadFileRecordTableViewHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B72724A2B0AF59200C03F87 /* uploadFileRecordTableViewHeadView.m */; };
@@ -1151,9 +1101,7 @@
 		6BD5078A2B9576A4006E7CB0 /* NSObject+BGModel.m in Sources */ = {isa = PBXBuildFile; fileRef = A08A94EB27E9A4E300C544BB /* NSObject+BGModel.m */; };
 		6BD5078B2B9576A4006E7CB0 /* HelpDownScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 181E84F12A8F0A9B00292B96 /* HelpDownScrollView.m */; };
 		6BD5078C2B9576A4006E7CB0 /* fileSetTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B5B60692B3D67B2009A2AE2 /* fileSetTableViewCell.m */; };
-		6BD5078D2B9576A4006E7CB0 /* connectDeviceManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF0F3CF2AD391D8000AA133 /* connectDeviceManager.m */; };
 		6BD5078E2B9576A4006E7CB0 /* MineViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 181E84F42A8F451C00292B96 /* MineViewCell.m */; };
-		6BD5078F2B9576A4006E7CB0 /* PlayerViewController+AdjustBtnFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE53D2AD136660020F623 /* PlayerViewController+AdjustBtnFrame.m */; };
 		6BD507902B9576A4006E7CB0 /* cachesFileManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B7272522B0CABC600C03F87 /* cachesFileManager.m */; };
 		6BD507912B9576A4006E7CB0 /* HWVersionModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 184C8ADC2A949DBD00F26650 /* HWVersionModel.m */; };
 		6BD507922B9576A4006E7CB0 /* NSArray+Log.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B21709B2B15CDB600656670 /* NSArray+Log.m */; };
@@ -1193,13 +1141,11 @@
 		6BD507B62B9576A4006E7CB0 /* GuideViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1823A8252A8601A500CE2913 /* GuideViewController.m */; };
 		6BD507B72B9576A4006E7CB0 /* ComontAlretViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18A909972ABC4A3300E6D2BE /* ComontAlretViewController.m */; };
 		6BD507B82B9576A4006E7CB0 /* AJPhotoGroupView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B0581A82AFCF57300D37290 /* AJPhotoGroupView.m */; };
-		6BD507B92B9576A4006E7CB0 /* PlayerViewController+TouchPointXD.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE53C2AD136660020F623 /* PlayerViewController+TouchPointXD.m */; };
 		6BD507BA2B9576A4006E7CB0 /* uploadImageOrVideoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B05815F2AFCD0DF00D37290 /* uploadImageOrVideoViewController.m */; };
 		6BD507BB2B9576A4006E7CB0 /* ForbidMenuTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 18E5572A2A3C6125005CC84B /* ForbidMenuTextField.m */; };
 		6BD507BC2B9576A4006E7CB0 /* netWorkManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B3F96332AD2A15A008E349E /* netWorkManager.m */; };
 		6BD507BD2B9576A4006E7CB0 /* HWBookmarkHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = A031DD7027EC34E500909527 /* HWBookmarkHeader.m */; };
 		6BD507BE2B9576A4006E7CB0 /* HWDataManager.m in Sources */ = {isa = PBXBuildFile; fileRef = A003F6CD27D8425C00715CBF /* HWDataManager.m */; };
-		6BD507BF2B9576A4006E7CB0 /* MySetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C4754E2A8E0DB5006129C0 /* MySetViewController.m */; };
 		6BD507C02B9576A4006E7CB0 /* downloadFileBottomView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B5D40322B4BE358000965CF /* downloadFileBottomView.m */; };
 		6BD507C12B9576A4006E7CB0 /* FLAnimatedImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = A003F6BA27D841FF00715CBF /* FLAnimatedImageView.m */; };
 		6BD507C22B9576A4006E7CB0 /* DeviceThirdIdModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF0F3D42AD3937B000AA133 /* DeviceThirdIdModel.m */; };
@@ -1213,7 +1159,6 @@
 		6BD507CA2B9576A4006E7CB0 /* HWHistoryModel.m in Sources */ = {isa = PBXBuildFile; fileRef = A0295B1527EDA0EC009C5D8B /* HWHistoryModel.m */; };
 		6BD507CC2B9576A4006E7CB0 /* PlayerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 183AE6B32A8CA00300B11CB0 /* PlayerView.m */; };
 		6BD507CD2B9576A4006E7CB0 /* HWToolBar.m in Sources */ = {isa = PBXBuildFile; fileRef = A003F6F227D8593600715CBF /* HWToolBar.m */; };
-		6BD507CE2B9576A4006E7CB0 /* PlayerViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE5362AD1351A0020F623 /* PlayerViewController.mm */; };
 		6BD507CF2B9576A4006E7CB0 /* JSONModel+networking.m in Sources */ = {isa = PBXBuildFile; fileRef = 183AE5FE2A89CE3C00B11CB0 /* JSONModel+networking.m */; };
 		6BD507D02B9576A4006E7CB0 /* HWAboutViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A0951D9227ED61F5000E6AC4 /* HWAboutViewController.m */; };
 		6BD507D12B9576A4006E7CB0 /* SuperModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 183AE5DE2A89CD3C00B11CB0 /* SuperModel.m */; };
@@ -1237,7 +1182,6 @@
 		6BD507E42B9576A4006E7CB0 /* libc++abi.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 183AE68A2A8C9C1000B11CB0 /* libc++abi.tbd */; };
 		6BD507E52B9576A4006E7CB0 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 183AE6882A8C9BE800B11CB0 /* OpenGLES.framework */; };
 		6BD507E62B9576A4006E7CB0 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 183AE6862A8C9BA700B11CB0 /* AudioToolbox.framework */; };
-		6BD507E72B9576A4006E7CB0 /* RCCloudPhoneSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18664FFE2AC2C908008F8A61 /* RCCloudPhoneSDK.framework */; };
 		6BD507E82B9576A4006E7CB0 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 183AE6842A8C9B8900B11CB0 /* AVFoundation.framework */; };
 		6BD507EB2B9576A4006E7CB0 /* HWBookmarkViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 18438BED2A04DD7D00981C34 /* HWBookmarkViewController.xib */; };
 		6BD507EC2B9576A4006E7CB0 /* RunInBackground.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 6BBB35D62AE7645200E4A59B /* RunInBackground.mp3 */; };
@@ -1264,7 +1208,6 @@
 		6BD508022B9576A4006E7CB0 /* HWAboutViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1893CDDB2A178DC10074B92F /* HWAboutViewController.xib */; };
 		6BD508032B9576A4006E7CB0 /* HWSearchBar.xib in Resources */ = {isa = PBXBuildFile; fileRef = A003F6F927D8776C00715CBF /* HWSearchBar.xib */; };
 		6BD508042B9576A4006E7CB0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A02FF6A527D7054700D59D3F /* Assets.xcassets */; };
-		6BD508052B9576A4006E7CB0 /* planet.1ali_3ry_peer in Resources */ = {isa = PBXBuildFile; fileRef = 6BF0F3D72AD3DB3C000AA133 /* planet.1ali_3ry_peer */; };
 		6BD508062B9576A4006E7CB0 /* HWHistoryViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1893CDE22A178FE70074B92F /* HWHistoryViewController.xib */; };
 		6BD508072B9576A4006E7CB0 /* agreement.txt in Resources */ = {isa = PBXBuildFile; fileRef = A031DD8127EC820400909527 /* agreement.txt */; };
 		6BD780702C2BF7F10014912F /* customerServiceViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BD7806E2C2BF7F10014912F /* customerServiceViewController.h */; };
@@ -1283,11 +1226,8 @@
 		6BEF9B862C64CDD300142B75 /* frpUploadModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BEF9B842C64CDD300142B75 /* frpUploadModel.m */; };
 		6BEF9B872C64CDD300142B75 /* frpUploadModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BEF9B832C64CDD300142B75 /* frpUploadModel.h */; };
 		6BEF9B882C64CDD300142B75 /* frpUploadModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BEF9B842C64CDD300142B75 /* frpUploadModel.m */; };
-		6BF0F3D02AD391D8000AA133 /* connectDeviceManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF0F3CE2AD391D8000AA133 /* connectDeviceManager.h */; };
-		6BF0F3D12AD391D8000AA133 /* connectDeviceManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF0F3CF2AD391D8000AA133 /* connectDeviceManager.m */; };
 		6BF0F3D52AD3937B000AA133 /* DeviceThirdIdModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF0F3D32AD3937B000AA133 /* DeviceThirdIdModel.h */; };
 		6BF0F3D62AD3937B000AA133 /* DeviceThirdIdModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF0F3D42AD3937B000AA133 /* DeviceThirdIdModel.m */; };
-		6BF0F3D82AD3DB3C000AA133 /* planet.1ali_3ry_peer in Resources */ = {isa = PBXBuildFile; fileRef = 6BF0F3D72AD3DB3C000AA133 /* planet.1ali_3ry_peer */; };
 		6BF2A5AC2C4686C500872525 /* audioPlayDownloadManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 6BF2A5AA2C4686C400872525 /* audioPlayDownloadManager.h */; };
 		6BF2A5AD2C4686C500872525 /* audioPlayDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF2A5AB2C4686C400872525 /* audioPlayDownloadManager.m */; };
 		6BF2A5AE2C4686C500872525 /* audioPlayDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BF2A5AB2C4686C400872525 /* audioPlayDownloadManager.m */; };
@@ -1569,7 +1509,6 @@
 		184C8ADC2A949DBD00F26650 /* HWVersionModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HWVersionModel.m; sourceTree = "<group>"; };
 		18664FF32AC2B3A4008F8A61 /* ShearDeviceUDPManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShearDeviceUDPManager.m; sourceTree = "<group>"; };
 		18664FF42AC2B3A4008F8A61 /* ShearDeviceUDPManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShearDeviceUDPManager.h; sourceTree = "<group>"; };
-		18664FFE2AC2C908008F8A61 /* RCCloudPhoneSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = RCCloudPhoneSDK.framework; sourceTree = "<group>"; };
 		1866F99C2A136DC600B31E22 /* iPhone.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = iPhone.m; sourceTree = "<group>"; };
 		1866F99D2A136DC700B31E22 /* iPhone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iPhone.h; sourceTree = "<group>"; };
 		186820172AB94877005702A6 /* GuideLastView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GuideLastView.h; sourceTree = "<group>"; };
@@ -1604,8 +1543,6 @@
 		18BA24862AA5C57900BA01EE /* RSATool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSATool.m; sourceTree = "<group>"; };
 		18BB183F2AC417CB00A36F63 /* RYShearDeviceUDPManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RYShearDeviceUDPManager.h; sourceTree = "<group>"; };
 		18BB18402AC417CB00A36F63 /* RYShearDeviceUDPManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RYShearDeviceUDPManager.m; sourceTree = "<group>"; };
-		18C4754D2A8E0DB5006129C0 /* MySetViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MySetViewController.h; sourceTree = "<group>"; };
-		18C4754E2A8E0DB5006129C0 /* MySetViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MySetViewController.m; sourceTree = "<group>"; };
 		18E5571B2A3C5D75005CC84B /* Calculator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Calculator.m; sourceTree = "<group>"; };
 		18E5571C2A3C5D75005CC84B /* NSString+FloatHandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+FloatHandle.h"; sourceTree = "<group>"; };
 		18E5571D2A3C5D75005CC84B /* CalculatorViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CalculatorViewController.m; sourceTree = "<group>"; };
@@ -1632,16 +1569,8 @@
 		18F9CB032ABD7835003FF71A /* QRCodeScanForChangeDeviceViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QRCodeScanForChangeDeviceViewController.h; sourceTree = "<group>"; };
 		18F9CB042ABD7835003FF71A /* QRCodeScanForChangeDeviceViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QRCodeScanForChangeDeviceViewController.m; sourceTree = "<group>"; };
 		18F9CB052ABD7835003FF71A /* TipsQRCodeForChangeDeviceViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TipsQRCodeForChangeDeviceViewController.h; sourceTree = "<group>"; };
-		18FCE5362AD1351A0020F623 /* PlayerViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = PlayerViewController.mm; sourceTree = "<group>"; };
-		18FCE5372AD1351B0020F623 /* PlayerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlayerViewController.h; sourceTree = "<group>"; };
-		18FCE53A2AD136650020F623 /* PlayerViewController+AdjustBtnFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PlayerViewController+AdjustBtnFrame.h"; sourceTree = "<group>"; };
-		18FCE53B2AD136650020F623 /* PlayerViewController+TouchPointXD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PlayerViewController+TouchPointXD.h"; sourceTree = "<group>"; };
-		18FCE53C2AD136660020F623 /* PlayerViewController+TouchPointXD.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PlayerViewController+TouchPointXD.m"; sourceTree = "<group>"; };
-		18FCE53D2AD136660020F623 /* PlayerViewController+AdjustBtnFrame.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PlayerViewController+AdjustBtnFrame.m"; sourceTree = "<group>"; };
 		18FCE5422AD136FE0020F623 /* ShortcutManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShortcutManager.h; sourceTree = "<group>"; };
 		18FCE5432AD136FF0020F623 /* ShortcutManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShortcutManager.m; sourceTree = "<group>"; };
-		18FCE5462AD15E730020F623 /* PlayerViewController+AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PlayerViewController+AppDelegate.h"; sourceTree = "<group>"; };
-		18FCE5472AD15E750020F623 /* PlayerViewController+AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PlayerViewController+AppDelegate.m"; sourceTree = "<group>"; };
 		1C8858F235EF73D282B6C2F7 /* Pods-计算器.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-计算器.debug.xcconfig"; path = "Target Support Files/Pods-计算器/Pods-计算器.debug.xcconfig"; sourceTree = "<group>"; };
 		2F0BE44210830826B87D3294 /* Pods-隐私保护-双子星云手机UITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-隐私保护-双子星云手机UITests.debug.xcconfig"; path = "Target Support Files/Pods-隐私保护-双子星云手机UITests/Pods-隐私保护-双子星云手机UITests.debug.xcconfig"; sourceTree = "<group>"; };
 		34FDFD4EDCAAF106290BB4FC /* Pods-隐私保护.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-隐私保护.debug.xcconfig"; path = "Target Support Files/Pods-隐私保护/Pods-隐私保护.debug.xcconfig"; sourceTree = "<group>"; };
@@ -1977,8 +1906,6 @@
 		6B72725E2B0E240F00C03F87 /* uploadFileRecordTableView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = uploadFileRecordTableView.m; sourceTree = "<group>"; };
 		6B78FD2D2CD4727E00E1A8B2 /* cloudPhoneModelViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = cloudPhoneModelViewController.h; sourceTree = "<group>"; };
 		6B78FD2E2CD4727E00E1A8B2 /* cloudPhoneModelViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = cloudPhoneModelViewController.m; sourceTree = "<group>"; };
-		6B7B65562AD9227700BE8CB3 /* PlayerViewController+otherDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PlayerViewController+otherDelegate.h"; sourceTree = "<group>"; };
-		6B7B65572AD9227700BE8CB3 /* PlayerViewController+otherDelegate.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = "PlayerViewController+otherDelegate.mm"; sourceTree = "<group>"; };
 		6B7B65612ADEAE0300BE8CB3 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/LaunchScreen.strings"; sourceTree = "<group>"; };
 		6B7B65622ADEAE0400BE8CB3 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/HWAddBookmarkViewController.strings"; sourceTree = "<group>"; };
 		6B7B65632ADEAE0400BE8CB3 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/HWBookmarkViewController.strings"; sourceTree = "<group>"; };
@@ -2006,8 +1933,6 @@
 		6B7E04242C3E5A97004B4948 /* customDownloadOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = customDownloadOperation.m; sourceTree = "<group>"; };
 		6B7E04252C3E5A97004B4948 /* NSURLSession+customDownloadTask.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSURLSession+customDownloadTask.h"; sourceTree = "<group>"; };
 		6B7E04262C3E5A97004B4948 /* NSURLSession+customDownloadTask.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSURLSession+customDownloadTask.m"; sourceTree = "<group>"; };
-		6B7E04382C3E6BBC004B4948 /* webSocketManager+downloadNasFile.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "webSocketManager+downloadNasFile.h"; sourceTree = "<group>"; };
-		6B7E04392C3E6BBC004B4948 /* webSocketManager+downloadNasFile.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "webSocketManager+downloadNasFile.m"; sourceTree = "<group>"; };
 		6B7E04412C3EA65A004B4948 /* previewLandscapeTopView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = previewLandscapeTopView.h; sourceTree = "<group>"; };
 		6B7E04422C3EA65A004B4948 /* previewLandscapeTopView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = previewLandscapeTopView.m; sourceTree = "<group>"; };
 		6B7EA7962BF5B4A6002D5CC2 /* NASFilePicModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NASFilePicModel.h; sourceTree = "<group>"; };
@@ -2105,18 +2030,6 @@
 		6BBB35E12AE935C000E4A59B /* DDYLanguageTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDYLanguageTool.m; sourceTree = "<group>"; };
 		6BC741382C23C8860049BA8D /* cloudPhoneViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = cloudPhoneViewController.h; sourceTree = "<group>"; };
 		6BC741392C23C8860049BA8D /* cloudPhoneViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = cloudPhoneViewController.m; sourceTree = "<group>"; };
-		6BC7413E2C23DCD10049BA8D /* webSocketManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = webSocketManager.h; sourceTree = "<group>"; };
-		6BC7413F2C23DCD10049BA8D /* webSocketManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = webSocketManager.m; sourceTree = "<group>"; };
-		6BC741442C24097E0049BA8D /* webSocketManager+baseDownload.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "webSocketManager+baseDownload.h"; sourceTree = "<group>"; };
-		6BC741452C24097E0049BA8D /* webSocketManager+baseDownload.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "webSocketManager+baseDownload.m"; sourceTree = "<group>"; };
-		6BC7414A2C240A670049BA8D /* webSocketManager+downloadFile.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "webSocketManager+downloadFile.h"; sourceTree = "<group>"; };
-		6BC7414B2C240A670049BA8D /* webSocketManager+downloadFile.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "webSocketManager+downloadFile.m"; sourceTree = "<group>"; };
-		6BC741502C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "webSocketManager+downloadThumbnailImage.h"; sourceTree = "<group>"; };
-		6BC741512C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "webSocketManager+downloadThumbnailImage.m"; sourceTree = "<group>"; };
-		6BC741562C2413B20049BA8D /* webSocketManager+upLoadFile.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "webSocketManager+upLoadFile.h"; sourceTree = "<group>"; };
-		6BC741572C2413B20049BA8D /* webSocketManager+upLoadFile.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "webSocketManager+upLoadFile.m"; sourceTree = "<group>"; };
-		6BC7415C2C24150C0049BA8D /* webSocketManager+backupsFile.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "webSocketManager+backupsFile.h"; sourceTree = "<group>"; };
-		6BC7415D2C24150C0049BA8D /* webSocketManager+backupsFile.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "webSocketManager+backupsFile.m"; sourceTree = "<group>"; };
 		6BD5080C2B9576A4006E7CB0 /* 计算器.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "计算器.app"; sourceTree = BUILT_PRODUCTS_DIR; };
 		6BD5080D2B9576A9006E7CB0 /* jiSuanQi_Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = jiSuanQi_Info.plist; path = "/Users/xdh/Desktop/创维盒子/创维盒子/jiSuanQi_Info.plist"; sourceTree = "<absolute>"; };
 		6BD7806E2C2BF7F10014912F /* customerServiceViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = customerServiceViewController.h; sourceTree = "<group>"; };
@@ -2129,11 +2042,8 @@
 		6BED888D2B4E901900F76DDC /* downloadFileRecordCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = downloadFileRecordCell.m; sourceTree = "<group>"; };
 		6BEF9B832C64CDD300142B75 /* frpUploadModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = frpUploadModel.h; sourceTree = "<group>"; };
 		6BEF9B842C64CDD300142B75 /* frpUploadModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = frpUploadModel.m; sourceTree = "<group>"; };
-		6BF0F3CE2AD391D8000AA133 /* connectDeviceManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = connectDeviceManager.h; sourceTree = "<group>"; };
-		6BF0F3CF2AD391D8000AA133 /* connectDeviceManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = connectDeviceManager.m; sourceTree = "<group>"; };
 		6BF0F3D32AD3937B000AA133 /* DeviceThirdIdModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DeviceThirdIdModel.h; sourceTree = "<group>"; };
 		6BF0F3D42AD3937B000AA133 /* DeviceThirdIdModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DeviceThirdIdModel.m; sourceTree = "<group>"; };
-		6BF0F3D72AD3DB3C000AA133 /* planet.1ali_3ry_peer */ = {isa = PBXFileReference; lastKnownFileType = file; path = planet.1ali_3ry_peer; sourceTree = "<group>"; };
 		6BF2A5AA2C4686C400872525 /* audioPlayDownloadManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = audioPlayDownloadManager.h; sourceTree = "<group>"; };
 		6BF2A5AB2C4686C400872525 /* audioPlayDownloadManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = audioPlayDownloadManager.m; sourceTree = "<group>"; };
 		6BF52C902AD5546500A617DB /* Reachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = "<group>"; };
@@ -2331,7 +2241,6 @@
 				6BD507E52B9576A4006E7CB0 /* OpenGLES.framework in Frameworks */,
 				6B304E9E2BEF687A004F5580 /* TencentOpenAPI.framework in Frameworks */,
 				6BD507E62B9576A4006E7CB0 /* AudioToolbox.framework in Frameworks */,
-				6BD507E72B9576A4006E7CB0 /* RCCloudPhoneSDK.framework in Frameworks */,
 				6BD507E82B9576A4006E7CB0 /* AVFoundation.framework in Frameworks */,
 				5D9E1B185552EF17AE8B5F24 /* libPods-计算器.a in Frameworks */,
 			);
@@ -2357,7 +2266,6 @@
 				183AE68B2A8C9C1000B11CB0 /* libc++abi.tbd in Frameworks */,
 				183AE6892A8C9BE800B11CB0 /* OpenGLES.framework in Frameworks */,
 				183AE6872A8C9BA700B11CB0 /* AudioToolbox.framework in Frameworks */,
-				18664FFF2AC2C908008F8A61 /* RCCloudPhoneSDK.framework in Frameworks */,
 				183AE6852A8C9B8900B11CB0 /* AVFoundation.framework in Frameworks */,
 				FF9E820CFBE22690EBBB63B3 /* (null) in Frameworks */,
 				0E69932CA3C4B3A33E0C587C /* libPods-隐私保护.a in Frameworks */,
@@ -2621,21 +2529,10 @@
 		183AE6812A8C9ACA00B11CB0 /* CloudPlayer */ = {
 			isa = PBXGroup;
 			children = (
-				18664FFE2AC2C908008F8A61 /* RCCloudPhoneSDK.framework */,
 				1810F8FD2AA1823800322116 /* Model */,
 				183AE6D02A8CA98C00B11CB0 /* CloudPhoneAPI.h */,
-				18FCE5372AD1351B0020F623 /* PlayerViewController.h */,
-				18FCE5362AD1351A0020F623 /* PlayerViewController.mm */,
 				18FCE5422AD136FE0020F623 /* ShortcutManager.h */,
 				18FCE5432AD136FF0020F623 /* ShortcutManager.m */,
-				18FCE53A2AD136650020F623 /* PlayerViewController+AdjustBtnFrame.h */,
-				18FCE53D2AD136660020F623 /* PlayerViewController+AdjustBtnFrame.m */,
-				18FCE53B2AD136650020F623 /* PlayerViewController+TouchPointXD.h */,
-				18FCE53C2AD136660020F623 /* PlayerViewController+TouchPointXD.m */,
-				18FCE5462AD15E730020F623 /* PlayerViewController+AppDelegate.h */,
-				18FCE5472AD15E750020F623 /* PlayerViewController+AppDelegate.m */,
-				6B7B65562AD9227700BE8CB3 /* PlayerViewController+otherDelegate.h */,
-				6B7B65572AD9227700BE8CB3 /* PlayerViewController+otherDelegate.mm */,
 				183AE6B12A8C9F5800B11CB0 /* View */,
 			);
 			path = CloudPlayer;
@@ -2704,8 +2601,6 @@
 				184C8ACE2A94980C00F26650 /* CustomerWebViewController.h */,
 				184C8ACF2A94980D00F26650 /* CustomerWebViewController.m */,
 				181E84F82A8F577D00292B96 /* ChangeLogo */,
-				18C4754D2A8E0DB5006129C0 /* MySetViewController.h */,
-				18C4754E2A8E0DB5006129C0 /* MySetViewController.m */,
 				181E84F02A8F0A9A00292B96 /* HelpDownScrollView.h */,
 				181E84F12A8F0A9B00292B96 /* HelpDownScrollView.m */,
 			);
@@ -3395,20 +3290,6 @@
 			children = (
 				183AE6A52A8C9EA900B11CB0 /* RCCommandHelp.h */,
 				183AE6A72A8C9EAA00B11CB0 /* RCCommandHelp.m */,
-				6BC7413E2C23DCD10049BA8D /* webSocketManager.h */,
-				6BC7413F2C23DCD10049BA8D /* webSocketManager.m */,
-				6BC741442C24097E0049BA8D /* webSocketManager+baseDownload.h */,
-				6BC741452C24097E0049BA8D /* webSocketManager+baseDownload.m */,
-				6BC7414A2C240A670049BA8D /* webSocketManager+downloadFile.h */,
-				6BC7414B2C240A670049BA8D /* webSocketManager+downloadFile.m */,
-				6BC741502C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.h */,
-				6BC741512C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.m */,
-				6BC741562C2413B20049BA8D /* webSocketManager+upLoadFile.h */,
-				6BC741572C2413B20049BA8D /* webSocketManager+upLoadFile.m */,
-				6BC7415C2C24150C0049BA8D /* webSocketManager+backupsFile.h */,
-				6BC7415D2C24150C0049BA8D /* webSocketManager+backupsFile.m */,
-				6B7E04382C3E6BBC004B4948 /* webSocketManager+downloadNasFile.h */,
-				6B7E04392C3E6BBC004B4948 /* webSocketManager+downloadNasFile.m */,
 			);
 			path = websocket;
 			sourceTree = "<group>";
@@ -3610,10 +3491,7 @@
 		6BF0F3CD2AD391BE000AA133 /* connectDeviceManager */ = {
 			isa = PBXGroup;
 			children = (
-				6BF0F3D72AD3DB3C000AA133 /* planet.1ali_3ry_peer */,
 				6BF0F3D22AD3933A000AA133 /* model */,
-				6BF0F3CE2AD391D8000AA133 /* connectDeviceManager.h */,
-				6BF0F3CF2AD391D8000AA133 /* connectDeviceManager.m */,
 			);
 			path = connectDeviceManager;
 			sourceTree = "<group>";
@@ -4067,7 +3945,6 @@
 				6B5D40372B4BEEF8000965CF /* downloadThumbnailManager.h in Headers */,
 				6B9354AD2BF3879200AA8D31 /* shareRecordTableViewCell.h in Headers */,
 				6B0582802B01C67400D37290 /* uploadFileRecordViewController.h in Headers */,
-				6BC7415E2C24150C0049BA8D /* webSocketManager+backupsFile.h in Headers */,
 				6BEA31752BB65606005167AA /* clearCacheAlretViewController.h in Headers */,
 				6B4C0F842C0315880070EF2E /* audioPlayerViewController.h in Headers */,
 				6B257E9F2C95964E00CBB70A /* backupPathListModel.h in Headers */,
@@ -4133,7 +4010,6 @@
 				6B7DDF262C421DA900EBDFDD /* previewVideoLandscapeTopMoreView.h in Headers */,
 				6B2C1E782C070ADE00FDCF82 /* ZFLandscapeWindow.h in Headers */,
 				6BF558D82C45488A00701854 /* addAudioToPlayListBottomView.h in Headers */,
-				6BF0F3D02AD391D8000AA133 /* connectDeviceManager.h in Headers */,
 				6B2C1E982C070ADE00FDCF82 /* ZFPlayerNotification.h in Headers */,
 				6B5394A02C81A99200195AA4 /* nasMixBackupsManager.h in Headers */,
 				6B7EA7A42BF607FB002D5CC2 /* imageDetailsScrollViewController.h in Headers */,
@@ -4146,14 +4022,10 @@
 				6B63179D2BFD8CA000FF4FB4 /* videoPlayByAVPlayerViewController.h in Headers */,
 				181E84FB2A8F57A500292B96 /* ChangeLogoViewController.h in Headers */,
 				6B5B606A2B3D67B2009A2AE2 /* fileSetTableViewCell.h in Headers */,
-				18C4754F2A8E0DB5006129C0 /* MySetViewController.h in Headers */,
 				6B4C0F6E2C0314BA0070EF2E /* DFPlayerResourceLoader.h in Headers */,
-				18FCE53F2AD136670020F623 /* PlayerViewController+TouchPointXD.h in Headers */,
 				6B679DFE2C255DC900D0DC03 /* MineCommonUsedView.h in Headers */,
-				18FCE53E2AD136670020F623 /* PlayerViewController+AdjustBtnFrame.h in Headers */,
 				6B8676982C85973200F81DFC /* webRtcMsgModel.h in Headers */,
 				6B238C952C60AF6A00C5AC2F /* nasDownloadFileManager.h in Headers */,
-				6B7E043A2C3E6BBC004B4948 /* webSocketManager+downloadNasFile.h in Headers */,
 				6B5BE5812BFC81E300A1B9B3 /* NASFileAndFolderModel.h in Headers */,
 				6B7EA7BC2BF759AC002D5CC2 /* shareSecretTableViewCell.h in Headers */,
 				6B2C1E362C070ADE00FDCF82 /* ZFPlayerControlView.h in Headers */,
@@ -4181,7 +4053,6 @@
 				184C8ADD2A949DBD00F26650 /* HWVersionModel.h in Headers */,
 				6B05826F2AFF692700D37290 /* photoPreViewBottomView.h in Headers */,
 				6BA08F4B2C01D05B00A2242D /* CWFileStreamSeparation.h in Headers */,
-				6B7B65582AD9227700BE8CB3 /* PlayerViewController+otherDelegate.h in Headers */,
 				6B42A2112C40DC3D000555BB /* previewLandscapeTopMoreView.h in Headers */,
 				6B7272572B0DAF7600C03F87 /* couldPhoneBaseInfoModel.h in Headers */,
 				186820212AB98600005702A6 /* QRCodeScanViewController.h in Headers */,
@@ -4192,7 +4063,6 @@
 				6B4C0F762C0314BA0070EF2E /* DFPlayer.h in Headers */,
 				6BB5731B2C7D6E1D00713351 /* scanToPCLoginViewController.h in Headers */,
 				6B2C1E3A2C070ADE00FDCF82 /* ZFPlayerStatusBar.h in Headers */,
-				18FCE5482AD15E750020F623 /* PlayerViewController+AppDelegate.h in Headers */,
 				6B72724B2B0AF59200C03F87 /* uploadFileRecordTableViewHeadView.h in Headers */,
 				6B72725F2B0E240F00C03F87 /* uploadFileRecordTableView.h in Headers */,
 				6B5D867A2C22D6E9008D25EA /* NASLastFileView.h in Headers */,
@@ -4210,7 +4080,6 @@
 				183AE6D42A8CAFAE00B11CB0 /* UIView+View.h in Headers */,
 				6BEF9B852C64CDD300142B75 /* frpUploadModel.h in Headers */,
 				6B9354892BF2FE8700AA8D31 /* editTypeHeadView.h in Headers */,
-				6BC7414C2C240A670049BA8D /* webSocketManager+downloadFile.h in Headers */,
 				6B2C1E4A2C070ADE00FDCF82 /* ZFSpeedLoadingView.h in Headers */,
 				6BED888A2B4E819000F76DDC /* downloadFileRecordTableView.h in Headers */,
 				6B2C1E562C070ADE00FDCF82 /* UIScrollView+ZFPlayer.h in Headers */,
@@ -4222,7 +4091,6 @@
 				6BED888E2B4E901900F76DDC /* downloadFileRecordCell.h in Headers */,
 				184C8ACC2A94557200F26650 /* HidenMaskSetViewController.h in Headers */,
 				6B6ABEF22BFF6B4C00480BAC /* boxSaveFileManager.h in Headers */,
-				6BC741582C2413B20049BA8D /* webSocketManager+upLoadFile.h in Headers */,
 				6BA08F532C01D05B00A2242D /* CWUploadTask.h in Headers */,
 				6B2C1E682C070ADE00FDCF82 /* ZFLandscapeRotationManager_iOS16.h in Headers */,
 				6B3E7A7B2C89AD5500B032C4 /* webRtcPlayerViewController+AdjustPlayerViewFrame.h in Headers */,
@@ -4256,7 +4124,6 @@
 				6B0581A22AFCF50300D37290 /* AJPhotoListCell.h in Headers */,
 				6B238C8F2C60AAE200C5AC2F /* nasDownloadManager.h in Headers */,
 				6B3AD68A2BF4AE630096D6B7 /* backupsOptionViewController.h in Headers */,
-				6BC741462C24097E0049BA8D /* webSocketManager+baseDownload.h in Headers */,
 				187076772A9F400300F15F7F /* PlayerLoadingView.h in Headers */,
 				6B7EA7982BF5B4A6002D5CC2 /* NASFilePicModel.h in Headers */,
 				6B7E04342C3E5A98004B4948 /* NSURLSession+customDownloadTask.h in Headers */,
@@ -4277,7 +4144,6 @@
 				6B2C1E742C070ADE00FDCF82 /* ZFLandscapeViewController.h in Headers */,
 				6B5D86742C22C63F008D25EA /* NASCommonUsedView.h in Headers */,
 				6B72725B2B0E22D000C03F87 /* uploadFileRecordBgScorllView.h in Headers */,
-				6BC741522C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.h in Headers */,
 				6B1F7FD62C00772500954720 /* boxDownloadFileManager.h in Headers */,
 				6B3941D02C50A7CA00C8FB28 /* queryShareReportMarkModel.h in Headers */,
 				18A909982ABC4A3300E6D2BE /* ComontAlretViewController.h in Headers */,
@@ -4286,7 +4152,6 @@
 				6B7E04282C3E5A98004B4948 /* customDownloadCacheManager.h in Headers */,
 				6B2C1E8C2C070ADE00FDCF82 /* ZFPlayerGestureControl.h in Headers */,
 				186820192AB94877005702A6 /* GuideLastView.h in Headers */,
-				6BC741402C23DCD10049BA8D /* webSocketManager.h in Headers */,
 				6B6ABEEC2BFF5B2F00480BAC /* receiveSaveRecordTableView.h in Headers */,
 				6B5D86802C22EA5B008D25EA /* lastFileManager.h in Headers */,
 				6B0582632AFF4B7D00D37290 /* PhotoPreviewViewController.h in Headers */,
@@ -4318,7 +4183,6 @@
 				6BF52C982AD5546500A617DB /* WHPingTester.h in Headers */,
 				6BF558D22C45442100701854 /* addAudioToPlayListViewController.h in Headers */,
 				6B6D42EC2C290A06006CAE3A /* cloudPhoneSetView.h in Headers */,
-				18FCE5392AD1351B0020F623 /* PlayerViewController.h in Headers */,
 				6BF52CA62AD7D3BE00A617DB /* customLaunchView.h in Headers */,
 				183AE7C72A8CB39100B11CB0 /* SafeForKey.h in Headers */,
 				6B7EA7AA2BF72D3B002D5CC2 /* queryShareModel.h in Headers */,
@@ -4358,7 +4222,6 @@
 				6BD506A72B9576A4006E7CB0 /* downloadThumbnailManager.h in Headers */,
 				6B9354AE2BF3879200AA8D31 /* shareRecordTableViewCell.h in Headers */,
 				6BD506A82B9576A4006E7CB0 /* uploadFileRecordViewController.h in Headers */,
-				6BC741602C24150C0049BA8D /* webSocketManager+backupsFile.h in Headers */,
 				6BEA31782BB65606005167AA /* clearCacheAlretViewController.h in Headers */,
 				6B4C0F872C0315880070EF2E /* audioPlayerViewController.h in Headers */,
 				6B257EA12C95964E00CBB70A /* backupPathListModel.h in Headers */,
@@ -4424,7 +4287,6 @@
 				6B7DDF282C421DA900EBDFDD /* previewVideoLandscapeTopMoreView.h in Headers */,
 				6B2C1E792C070ADE00FDCF82 /* ZFLandscapeWindow.h in Headers */,
 				6BF558DA2C45488A00701854 /* addAudioToPlayListBottomView.h in Headers */,
-				6BD506C12B9576A4006E7CB0 /* connectDeviceManager.h in Headers */,
 				6B2C1E992C070ADE00FDCF82 /* ZFPlayerNotification.h in Headers */,
 				6B5394A12C81A99200195AA4 /* nasMixBackupsManager.h in Headers */,
 				6B7EA7A62BF607FB002D5CC2 /* imageDetailsScrollViewController.h in Headers */,
@@ -4437,14 +4299,10 @@
 				6B63179E2BFD8CA000FF4FB4 /* videoPlayByAVPlayerViewController.h in Headers */,
 				6BD506C72B9576A4006E7CB0 /* ChangeLogoViewController.h in Headers */,
 				6BD506C82B9576A4006E7CB0 /* fileSetTableViewCell.h in Headers */,
-				6BD506C92B9576A4006E7CB0 /* MySetViewController.h in Headers */,
 				6B4C0F6F2C0314BA0070EF2E /* DFPlayerResourceLoader.h in Headers */,
-				6BD506CA2B9576A4006E7CB0 /* PlayerViewController+TouchPointXD.h in Headers */,
 				6B679E002C255DC900D0DC03 /* MineCommonUsedView.h in Headers */,
-				6BD506CB2B9576A4006E7CB0 /* PlayerViewController+AdjustBtnFrame.h in Headers */,
 				6B86769A2C85973200F81DFC /* webRtcMsgModel.h in Headers */,
 				6B238C962C60AF6A00C5AC2F /* nasDownloadFileManager.h in Headers */,
-				6B7E043D2C3E6BBC004B4948 /* webSocketManager+downloadNasFile.h in Headers */,
 				6B5BE5832BFC81E300A1B9B3 /* NASFileAndFolderModel.h in Headers */,
 				6B7EA7BE2BF759AC002D5CC2 /* shareSecretTableViewCell.h in Headers */,
 				6B2C1E372C070ADE00FDCF82 /* ZFPlayerControlView.h in Headers */,
@@ -4472,7 +4330,6 @@
 				6BD506D62B9576A4006E7CB0 /* HWVersionModel.h in Headers */,
 				6BD506D72B9576A4006E7CB0 /* photoPreViewBottomView.h in Headers */,
 				6BA08F4C2C01D05B00A2242D /* CWFileStreamSeparation.h in Headers */,
-				6BD506D82B9576A4006E7CB0 /* PlayerViewController+otherDelegate.h in Headers */,
 				6B42A2132C40DC3D000555BB /* previewLandscapeTopMoreView.h in Headers */,
 				6BD506D92B9576A4006E7CB0 /* couldPhoneBaseInfoModel.h in Headers */,
 				6BD506DA2B9576A4006E7CB0 /* QRCodeScanViewController.h in Headers */,
@@ -4483,7 +4340,6 @@
 				6B4C0F772C0314BA0070EF2E /* DFPlayer.h in Headers */,
 				6BB5731D2C7D6E1D00713351 /* scanToPCLoginViewController.h in Headers */,
 				6B2C1E3B2C070ADE00FDCF82 /* ZFPlayerStatusBar.h in Headers */,
-				6BD506DE2B9576A4006E7CB0 /* PlayerViewController+AppDelegate.h in Headers */,
 				6BD506DF2B9576A4006E7CB0 /* uploadFileRecordTableViewHeadView.h in Headers */,
 				6BD506E02B9576A4006E7CB0 /* uploadFileRecordTableView.h in Headers */,
 				6B5D867B2C22D6E9008D25EA /* NASLastFileView.h in Headers */,
@@ -4501,7 +4357,6 @@
 				6BD506E42B9576A4006E7CB0 /* UIView+View.h in Headers */,
 				6BEF9B872C64CDD300142B75 /* frpUploadModel.h in Headers */,
 				6B93548A2BF2FE8700AA8D31 /* editTypeHeadView.h in Headers */,
-				6BC7414E2C240A670049BA8D /* webSocketManager+downloadFile.h in Headers */,
 				6B2C1E4B2C070ADE00FDCF82 /* ZFSpeedLoadingView.h in Headers */,
 				6BD506E52B9576A4006E7CB0 /* downloadFileRecordTableView.h in Headers */,
 				6B2C1E572C070ADE00FDCF82 /* UIScrollView+ZFPlayer.h in Headers */,
@@ -4513,7 +4368,6 @@
 				6BD506E92B9576A4006E7CB0 /* downloadFileRecordCell.h in Headers */,
 				6BD506EA2B9576A4006E7CB0 /* HidenMaskSetViewController.h in Headers */,
 				6B6ABEF42BFF6B4C00480BAC /* boxSaveFileManager.h in Headers */,
-				6BC7415A2C2413B20049BA8D /* webSocketManager+upLoadFile.h in Headers */,
 				6BA08F542C01D05B00A2242D /* CWUploadTask.h in Headers */,
 				6B2C1E692C070ADE00FDCF82 /* ZFLandscapeRotationManager_iOS16.h in Headers */,
 				6B3E7A7D2C89AD5500B032C4 /* webRtcPlayerViewController+AdjustPlayerViewFrame.h in Headers */,
@@ -4547,7 +4401,6 @@
 				6BD506F32B9576A4006E7CB0 /* AJPhotoListCell.h in Headers */,
 				6B238C902C60AAE200C5AC2F /* nasDownloadManager.h in Headers */,
 				6B3AD68D2BF4AE630096D6B7 /* backupsOptionViewController.h in Headers */,
-				6BC741482C24097E0049BA8D /* webSocketManager+baseDownload.h in Headers */,
 				6BD506F42B9576A4006E7CB0 /* PlayerLoadingView.h in Headers */,
 				6B7EA79A2BF5B4A6002D5CC2 /* NASFilePicModel.h in Headers */,
 				6B7E04352C3E5A98004B4948 /* NSURLSession+customDownloadTask.h in Headers */,
@@ -4568,7 +4421,6 @@
 				6B2C1E752C070ADE00FDCF82 /* ZFLandscapeViewController.h in Headers */,
 				6B5D86752C22C63F008D25EA /* NASCommonUsedView.h in Headers */,
 				6BD506FD2B9576A4006E7CB0 /* uploadFileRecordBgScorllView.h in Headers */,
-				6BC741542C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.h in Headers */,
 				6B1F7FD82C00772500954720 /* boxDownloadFileManager.h in Headers */,
 				6B3941D12C50A7CA00C8FB28 /* queryShareReportMarkModel.h in Headers */,
 				6BD506FE2B9576A4006E7CB0 /* ComontAlretViewController.h in Headers */,
@@ -4577,7 +4429,6 @@
 				6B7E04292C3E5A98004B4948 /* customDownloadCacheManager.h in Headers */,
 				6B2C1E8D2C070ADE00FDCF82 /* ZFPlayerGestureControl.h in Headers */,
 				6BD507012B9576A4006E7CB0 /* GuideLastView.h in Headers */,
-				6BC741422C23DCD10049BA8D /* webSocketManager.h in Headers */,
 				6B6ABEEE2BFF5B2F00480BAC /* receiveSaveRecordTableView.h in Headers */,
 				6B5D86812C22EA5B008D25EA /* lastFileManager.h in Headers */,
 				6BD507022B9576A4006E7CB0 /* PhotoPreviewViewController.h in Headers */,
@@ -4609,7 +4460,6 @@
 				6BD5070A2B9576A4006E7CB0 /* WHPingTester.h in Headers */,
 				6BF558D42C45442100701854 /* addAudioToPlayListViewController.h in Headers */,
 				6B6D42EE2C290A06006CAE3A /* cloudPhoneSetView.h in Headers */,
-				6BD5070B2B9576A4006E7CB0 /* PlayerViewController.h in Headers */,
 				6BD5070C2B9576A4006E7CB0 /* customLaunchView.h in Headers */,
 				6BD5070D2B9576A4006E7CB0 /* SafeForKey.h in Headers */,
 				6B7EA7AC2BF72D3B002D5CC2 /* queryShareModel.h in Headers */,
@@ -4789,7 +4639,6 @@
 				6BD508022B9576A4006E7CB0 /* HWAboutViewController.xib in Resources */,
 				6BD508032B9576A4006E7CB0 /* HWSearchBar.xib in Resources */,
 				6BD508042B9576A4006E7CB0 /* Assets.xcassets in Resources */,
-				6BD508052B9576A4006E7CB0 /* planet.1ali_3ry_peer in Resources */,
 				6BD508062B9576A4006E7CB0 /* HWHistoryViewController.xib in Resources */,
 				6BD508072B9576A4006E7CB0 /* agreement.txt in Resources */,
 			);
@@ -4826,7 +4675,6 @@
 				1893CDD92A178DC10074B92F /* HWAboutViewController.xib in Resources */,
 				A003F6FA27D8776C00715CBF /* HWSearchBar.xib in Resources */,
 				A02FF6A627D7054700D59D3F /* Assets.xcassets in Resources */,
-				6BF0F3D82AD3DB3C000AA133 /* planet.1ali_3ry_peer in Resources */,
 				1893CDE02A178FE70074B92F /* HWHistoryViewController.xib in Resources */,
 				A031DD8227EC820400909527 /* agreement.txt in Resources */,
 			);
@@ -5023,7 +4871,6 @@
 				6B4C0F952C0320710070EF2E /* NSObject+Extensions.m in Sources */,
 				6BD5071C2B9576A4006E7CB0 /* backupsSetViewController.m in Sources */,
 				6BA08F0B2C0187DD00A2242D /* boxDownloadFileRecordCell.m in Sources */,
-				6BC741552C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.m in Sources */,
 				6B2C1E2F2C070ADE00FDCF82 /* ZFLoadingView.m in Sources */,
 				6BD5071D2B9576A4006E7CB0 /* diskListBgView.m in Sources */,
 				6BD5071E2B9576A4006E7CB0 /* iTools.m in Sources */,
@@ -5076,7 +4923,6 @@
 				6BD507352B9576A4006E7CB0 /* HWBookmarkListCell.m in Sources */,
 				6BD507362B9576A4006E7CB0 /* downLoadPreViewCell.m in Sources */,
 				6BD507372B9576A4006E7CB0 /* JSONModelError.m in Sources */,
-				6BD507382B9576A4006E7CB0 /* PlayerViewController+otherDelegate.mm in Sources */,
 				6B2C1E632C070ADE00FDCF82 /* ZFKVOController.m in Sources */,
 				6B42A2142C40DC3D000555BB /* previewLandscapeTopMoreView.m in Sources */,
 				6BD507392B9576A4006E7CB0 /* downloadManager.m in Sources */,
@@ -5094,7 +4940,6 @@
 				6B7EA7A12BF5E0ED002D5CC2 /* NASMsgModel.m in Sources */,
 				6BD507412B9576A4006E7CB0 /* AudioSessionObject.m in Sources */,
 				6B6ABEDD2BFF3AA400480BAC /* receiveView.m in Sources */,
-				6BC7414F2C240A670049BA8D /* webSocketManager+downloadFile.m in Sources */,
 				6B07E0AF2C3D1ED5004A3238 /* nasLastFileViewController.m in Sources */,
 				6BD507422B9576A4006E7CB0 /* ChangeLogoViewController.m in Sources */,
 				6BD507432B9576A4006E7CB0 /* uploadFileRecordheadView.m in Sources */,
@@ -5162,7 +5007,6 @@
 				6BD507612B9576A4006E7CB0 /* FMDatabasePool.m in Sources */,
 				6BD507622B9576A4006E7CB0 /* iToast.m in Sources */,
 				6B2C1E272C070ADE00FDCF82 /* UIView+ZFFrame.m in Sources */,
-				6BC741492C24097E0049BA8D /* webSocketManager+baseDownload.m in Sources */,
 				6BD507632B9576A4006E7CB0 /* HWPageListCell.m in Sources */,
 				6BD507642B9576A4006E7CB0 /* downloadFileRecordTableView.m in Sources */,
 				6BD507652B9576A4006E7CB0 /* HWHomeListCell.m in Sources */,
@@ -5177,9 +5021,7 @@
 				6B1F7FD92C00772500954720 /* boxDownloadFileManager.m in Sources */,
 				6BD5076A2B9576A4006E7CB0 /* SafeForKey.m in Sources */,
 				6BD5076B2B9576A4006E7CB0 /* JSONModel.m in Sources */,
-				6BD5076C2B9576A4006E7CB0 /* PlayerViewController+AppDelegate.m in Sources */,
 				6BD5076D2B9576A4006E7CB0 /* WHPingTester.m in Sources */,
-				6BC741432C23DCD10049BA8D /* webSocketManager.m in Sources */,
 				6B467BB42BC7E4360039A6A6 /* addLogObject.m in Sources */,
 				6BD5076E2B9576A4006E7CB0 /* forgetPwdViewController.m in Sources */,
 				6BF558C72C45247E00701854 /* audioPlayListView.m in Sources */,
@@ -5227,10 +5069,8 @@
 				6B2C1E6F2C070ADE00FDCF82 /* ZFLandscapeRotationManager.m in Sources */,
 				6BD5078B2B9576A4006E7CB0 /* HelpDownScrollView.m in Sources */,
 				6BD5078C2B9576A4006E7CB0 /* fileSetTableViewCell.m in Sources */,
-				6BD5078D2B9576A4006E7CB0 /* connectDeviceManager.m in Sources */,
 				6B6ABEF52BFF6B4C00480BAC /* boxSaveFileManager.m in Sources */,
 				6BD5078E2B9576A4006E7CB0 /* MineViewCell.m in Sources */,
-				6BD5078F2B9576A4006E7CB0 /* PlayerViewController+AdjustBtnFrame.m in Sources */,
 				6BD507902B9576A4006E7CB0 /* cachesFileManager.m in Sources */,
 				6BD780732C2BF7F10014912F /* customerServiceViewController.m in Sources */,
 				6B2C1E8F2C070ADE00FDCF82 /* ZFPlayerGestureControl.m in Sources */,
@@ -5283,7 +5123,6 @@
 				6BD507A92B9576A4006E7CB0 /* AboutViewController.m in Sources */,
 				6BD507AA2B9576A4006E7CB0 /* JSONModelArray.m in Sources */,
 				6B4C0F692C0314BA0070EF2E /* DFPlayerLyricsTableview.m in Sources */,
-				6BC7415B2C2413B20049BA8D /* webSocketManager+upLoadFile.m in Sources */,
 				6B833A852C48F3B300F9F1D0 /* customToastVew.m in Sources */,
 				6BD507AB2B9576A4006E7CB0 /* AFURLSessionManager.m in Sources */,
 				6BD507AC2B9576A4006E7CB0 /* GuideLastView.m in Sources */,
@@ -5301,7 +5140,6 @@
 				6BD507B62B9576A4006E7CB0 /* GuideViewController.m in Sources */,
 				6BD507B72B9576A4006E7CB0 /* ComontAlretViewController.m in Sources */,
 				6BD507B82B9576A4006E7CB0 /* AJPhotoGroupView.m in Sources */,
-				6BD507B92B9576A4006E7CB0 /* PlayerViewController+TouchPointXD.m in Sources */,
 				6B0D004E2BFE104B00F02719 /* queryOneShareModel.m in Sources */,
 				6BD507BA2B9576A4006E7CB0 /* uploadImageOrVideoViewController.m in Sources */,
 				6B07E0B52C3D3986004A3238 /* ComontAlretDeleteTypeViewController.m in Sources */,
@@ -5311,7 +5149,6 @@
 				6BD507BE2B9576A4006E7CB0 /* HWDataManager.m in Sources */,
 				6B4C0F712C0314BA0070EF2E /* DFPlayerResourceLoader.m in Sources */,
 				6B3AD6862BF48DBA0096D6B7 /* shareRecordDetailsHWViewController.m in Sources */,
-				6BD507BF2B9576A4006E7CB0 /* MySetViewController.m in Sources */,
 				6B5D867C2C22D6E9008D25EA /* NASLastFileView.m in Sources */,
 				6BD507C02B9576A4006E7CB0 /* downloadFileBottomView.m in Sources */,
 				6BD507C12B9576A4006E7CB0 /* FLAnimatedImageView.m in Sources */,
@@ -5337,11 +5174,9 @@
 				6B7E04332C3E5A98004B4948 /* customDownloadOperation.m in Sources */,
 				6B4C0F812C0314BA0070EF2E /* DFPlayerUIManager.m in Sources */,
 				6B2C1E9F2C070ADE00FDCF82 /* ZFPlayerView.m in Sources */,
-				6BC741612C24150C0049BA8D /* webSocketManager+backupsFile.m in Sources */,
 				6BD507CC2B9576A4006E7CB0 /* PlayerView.m in Sources */,
 				6BC7413D2C23C8870049BA8D /* cloudPhoneViewController.m in Sources */,
 				6BD507CD2B9576A4006E7CB0 /* HWToolBar.m in Sources */,
-				6BD507CE2B9576A4006E7CB0 /* PlayerViewController.mm in Sources */,
 				6B93548B2BF2FE8700AA8D31 /* editTypeHeadView.m in Sources */,
 				6BD507CF2B9576A4006E7CB0 /* JSONModel+networking.m in Sources */,
 				6BF558B52C44F11C00701854 /* previewAudioPortraitTopMoreView.m in Sources */,
@@ -5357,7 +5192,6 @@
 				6BD507D62B9576A4006E7CB0 /* main.m in Sources */,
 				6BD507D72B9576A4006E7CB0 /* uploadFileRecordTableView.m in Sources */,
 				6BD507D82B9576A4006E7CB0 /* NSDictionary+Log.m in Sources */,
-				6B7E043C2C3E6BBC004B4948 /* webSocketManager+downloadNasFile.m in Sources */,
 				6BD507D92B9576A4006E7CB0 /* mySetHeadView.m in Sources */,
 				6B2C1E7B2C070ADE00FDCF82 /* ZFLandscapeWindow.m in Sources */,
 				6BD507DA2B9576A4006E7CB0 /* HWPageViewController.m in Sources */,
@@ -5396,7 +5230,6 @@
 				6B4C0F942C0320710070EF2E /* NSObject+Extensions.m in Sources */,
 				6B1FBD232B43DAD200926382 /* backupsSetViewController.m in Sources */,
 				6BA08F092C0187DD00A2242D /* boxDownloadFileRecordCell.m in Sources */,
-				6BC741532C2410CD0049BA8D /* webSocketManager+downloadThumbnailImage.m in Sources */,
 				6B2C1E2E2C070ADE00FDCF82 /* ZFLoadingView.m in Sources */,
 				6B45C50D2B5FA80E007E6911 /* diskListBgView.m in Sources */,
 				A003F6D127D8425C00715CBF /* iTools.m in Sources */,
@@ -5449,7 +5282,6 @@
 				A031DD6D27EC1FCD00909527 /* HWBookmarkListCell.m in Sources */,
 				6B5D40302B4BCBC1000965CF /* downLoadPreViewCell.m in Sources */,
 				183AE6052A89CE3C00B11CB0 /* JSONModelError.m in Sources */,
-				6B7B65592AD9227700BE8CB3 /* PlayerViewController+otherDelegate.mm in Sources */,
 				6B2C1E622C070ADE00FDCF82 /* ZFKVOController.m in Sources */,
 				6B42A2122C40DC3D000555BB /* previewLandscapeTopMoreView.m in Sources */,
 				6B5D40402B4CE40F000965CF /* downloadManager.m in Sources */,
@@ -5467,7 +5299,6 @@
 				6B7EA79F2BF5E0ED002D5CC2 /* NASMsgModel.m in Sources */,
 				6BBB35DE2AE76AD800E4A59B /* AudioSessionObject.m in Sources */,
 				6B6ABEDB2BFF3AA400480BAC /* receiveView.m in Sources */,
-				6BC7414D2C240A670049BA8D /* webSocketManager+downloadFile.m in Sources */,
 				6B07E0AC2C3D1ED5004A3238 /* nasLastFileViewController.m in Sources */,
 				181E84FC2A8F57A500292B96 /* ChangeLogoViewController.m in Sources */,
 				6B8FF6BA2B04E19600800981 /* uploadFileRecordheadView.m in Sources */,
@@ -5535,7 +5366,6 @@
 				A08A950327E9A4E400C544BB /* FMDatabasePool.m in Sources */,
 				A003F6D327D8425C00715CBF /* iToast.m in Sources */,
 				6B2C1E262C070ADE00FDCF82 /* UIView+ZFFrame.m in Sources */,
-				6BC741472C24097E0049BA8D /* webSocketManager+baseDownload.m in Sources */,
 				A08A94E027E9837600C544BB /* HWPageListCell.m in Sources */,
 				6BED888B2B4E819000F76DDC /* downloadFileRecordTableView.m in Sources */,
 				A084D69827E8657800054880 /* HWHomeListCell.m in Sources */,
@@ -5550,9 +5380,7 @@
 				6B1F7FD72C00772500954720 /* boxDownloadFileManager.m in Sources */,
 				183AE7C82A8CB39100B11CB0 /* SafeForKey.m in Sources */,
 				183AE6042A89CE3C00B11CB0 /* JSONModel.m in Sources */,
-				18FCE5492AD15E750020F623 /* PlayerViewController+AppDelegate.m in Sources */,
 				6BF52C9A2AD5546500A617DB /* WHPingTester.m in Sources */,
-				6BC741412C23DCD10049BA8D /* webSocketManager.m in Sources */,
 				6B467BB22BC7E4360039A6A6 /* addLogObject.m in Sources */,
 				6BFF268D2AF8E1C600FCB4F7 /* forgetPwdViewController.m in Sources */,
 				6BF558C52C45247E00701854 /* audioPlayListView.m in Sources */,
@@ -5600,10 +5428,8 @@
 				6B2C1E6E2C070ADE00FDCF82 /* ZFLandscapeRotationManager.m in Sources */,
 				181E84F32A8F0A9B00292B96 /* HelpDownScrollView.m in Sources */,
 				6B5B606B2B3D67B2009A2AE2 /* fileSetTableViewCell.m in Sources */,
-				6BF0F3D12AD391D8000AA133 /* connectDeviceManager.m in Sources */,
 				6B6ABEF32BFF6B4C00480BAC /* boxSaveFileManager.m in Sources */,
 				181E84F62A8F451D00292B96 /* MineViewCell.m in Sources */,
-				18FCE5412AD136670020F623 /* PlayerViewController+AdjustBtnFrame.m in Sources */,
 				6B7272542B0CABC600C03F87 /* cachesFileManager.m in Sources */,
 				6BD780712C2BF7F10014912F /* customerServiceViewController.m in Sources */,
 				6B2C1E8E2C070ADE00FDCF82 /* ZFPlayerGestureControl.m in Sources */,
@@ -5656,7 +5482,6 @@
 				184C8AD62A949D5900F26650 /* AboutViewController.m in Sources */,
 				183AE6062A89CE3C00B11CB0 /* JSONModelArray.m in Sources */,
 				6B4C0F682C0314BA0070EF2E /* DFPlayerLyricsTableview.m in Sources */,
-				6BC741592C2413B20049BA8D /* webSocketManager+upLoadFile.m in Sources */,
 				6B833A822C48F3B300F9F1D0 /* customToastVew.m in Sources */,
 				183AE6562A8A2CF000B11CB0 /* AFURLSessionManager.m in Sources */,
 				1868201A2AB94877005702A6 /* GuideLastView.m in Sources */,
@@ -5674,7 +5499,6 @@
 				1823A8262A8601A500CE2913 /* GuideViewController.m in Sources */,
 				18A909992ABC4A3300E6D2BE /* ComontAlretViewController.m in Sources */,
 				6B0581AE2AFCF57300D37290 /* AJPhotoGroupView.m in Sources */,
-				18FCE5402AD136670020F623 /* PlayerViewController+TouchPointXD.m in Sources */,
 				6B0D004B2BFE104B00F02719 /* queryOneShareModel.m in Sources */,
 				6B0581612AFCD0DF00D37290 /* uploadImageOrVideoViewController.m in Sources */,
 				6B07E0B22C3D3986004A3238 /* ComontAlretDeleteTypeViewController.m in Sources */,
@@ -5684,7 +5508,6 @@
 				A003F6D227D8425C00715CBF /* HWDataManager.m in Sources */,
 				6B4C0F702C0314BA0070EF2E /* DFPlayerResourceLoader.m in Sources */,
 				6B3AD6852BF48DBA0096D6B7 /* shareRecordDetailsHWViewController.m in Sources */,
-				18C475502A8E0DB5006129C0 /* MySetViewController.m in Sources */,
 				6B5D86792C22D6E9008D25EA /* NASLastFileView.m in Sources */,
 				6B5D40342B4BE358000965CF /* downloadFileBottomView.m in Sources */,
 				A003F6C127D841FF00715CBF /* FLAnimatedImageView.m in Sources */,
@@ -5710,11 +5533,9 @@
 				6B7E04322C3E5A98004B4948 /* customDownloadOperation.m in Sources */,
 				6B4C0F802C0314BA0070EF2E /* DFPlayerUIManager.m in Sources */,
 				6B2C1E9E2C070ADE00FDCF82 /* ZFPlayerView.m in Sources */,
-				6BC7415F2C24150C0049BA8D /* webSocketManager+backupsFile.m in Sources */,
 				183AE6B42A8CA00300B11CB0 /* PlayerView.m in Sources */,
 				6BC7413B2C23C8870049BA8D /* cloudPhoneViewController.m in Sources */,
 				A003F6F327D8593600715CBF /* HWToolBar.m in Sources */,
-				18FCE5382AD1351B0020F623 /* PlayerViewController.mm in Sources */,
 				6B9354882BF2FE8700AA8D31 /* editTypeHeadView.m in Sources */,
 				183AE60A2A89CE3C00B11CB0 /* JSONModel+networking.m in Sources */,
 				6BF558B32C44F11C00701854 /* previewAudioPortraitTopMoreView.m in Sources */,
@@ -5730,7 +5551,6 @@
 				A02FF6AC27D7054700D59D3F /* main.m in Sources */,
 				6B7272602B0E240F00C03F87 /* uploadFileRecordTableView.m in Sources */,
 				6B2170992B15CD9200656670 /* NSDictionary+Log.m in Sources */,
-				6B7E043B2C3E6BBC004B4948 /* webSocketManager+downloadNasFile.m in Sources */,
 				6B05815C2AFC851E00D37290 /* mySetHeadView.m in Sources */,
 				6B2C1E7A2C070ADE00FDCF82 /* ZFLandscapeWindow.m in Sources */,
 				A08A94DB27E97DB800C544BB /* HWPageViewController.m in Sources */,

BIN
创维盒子/双子星云手机.xcworkspace/xcuserdata/xdh.xcuserdatad/UserInterfaceState.xcuserstate


+ 11 - 201
创维盒子/双子星云手机.xcworkspace/xcuserdata/xdh.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -87,22 +87,6 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "42649481-F4EB-4835-948C-927A74B4AE3B"
-            shouldBeEnabled = "No"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/Class/Set/ModifyPWD/ModifyPWDFirstViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "250"
-            endingLineNumber = "250"
-            landmarkName = "-keyBoardBtnPressed:"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
             uuid = "E4A0F4C2-0241-4A99-9CC7-2E0896E0C4F4"
             shouldBeEnabled = "No"
             ignoreCount = "0"
@@ -119,38 +103,6 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "75E163E6-AFF9-4FAD-B645-2A6D4C503142"
-            shouldBeEnabled = "No"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/Class/Guide/inputPWDViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "363"
-            endingLineNumber = "363"
-            landmarkName = "-addGuideView"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "7B500854-C3E2-4DC6-86B4-E8F196FDD9D2"
-            shouldBeEnabled = "No"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/Class/Set/ChangeDevice/QRCodeScanForChangeDeviceViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "250"
-            endingLineNumber = "250"
-            landmarkName = "-scanLineDownAndUpFun"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
             uuid = "76BF1B35-7096-43E4-A85A-C7AB8E63B356"
             shouldBeEnabled = "No"
             ignoreCount = "0"
@@ -158,8 +110,8 @@
             filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/AppDelegate/AppDelegate.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "71"
-            endingLineNumber = "71"
+            startingLineNumber = "70"
+            endingLineNumber = "70"
             landmarkName = "-application:didFinishLaunchingWithOptions:"
             landmarkType = "7">
          </BreakpointContent>
@@ -174,8 +126,8 @@
             filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/Class/Calculator/CalculatorViewController.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "340"
-            endingLineNumber = "340"
+            startingLineNumber = "339"
+            endingLineNumber = "339"
             landmarkName = "-addTextFieldFormat"
             landmarkType = "7">
          </BreakpointContent>
@@ -190,8 +142,8 @@
             filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/Class/Controller/HWWebViewController.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "284"
-            endingLineNumber = "284"
+            startingLineNumber = "283"
+            endingLineNumber = "283"
             landmarkName = "-searchBarWithText:"
             landmarkType = "7">
          </BreakpointContent>
@@ -206,8 +158,8 @@
             filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/Class/Guide/GuideViewController.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "63"
-            endingLineNumber = "63"
+            startingLineNumber = "62"
+            endingLineNumber = "62"
             landmarkName = "-startMoveView"
             landmarkType = "7">
          </BreakpointContent>
@@ -222,8 +174,8 @@
             filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/Class/Guide/GuideViewController.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "103"
-            endingLineNumber = "103"
+            startingLineNumber = "91"
+            endingLineNumber = "91"
             landmarkName = "-startMoveView"
             landmarkType = "7">
          </BreakpointContent>
@@ -231,22 +183,6 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "51B8EFEA-024A-413E-ACA1-3DAA7E35BFA1"
-            shouldBeEnabled = "No"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/Class/Set/appUpdate/AboutViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "205"
-            endingLineNumber = "205"
-            landmarkName = "-getVersion"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
             uuid = "6444AD5F-A95B-462B-8683-9E4277767CB4"
             shouldBeEnabled = "No"
             ignoreCount = "0"
@@ -290,36 +226,6 @@
             endingLineNumber = "392"
             landmarkName = "-setLanMas_makeWithImageRate:isOpenVirtual:isUsageMode:"
             landmarkType = "7">
-            <Locations>
-               <Location
-                  uuid = "D92195D1-CA82-4378-A2CE-634F99BBB202 - 907b8143c8ae3a73"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "-[PlayerView setLanMas_makeWithImageRate:isOpenVirtual:isUsageMode:]"
-                  moduleName = "&#x9690;&#x79c1;&#x4fdd;&#x62a4;"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/xdh/Desktop/%E5%88%9B%E7%BB%B4%E7%9B%92%E5%AD%90/%E5%88%9B%E7%BB%B4%E7%9B%92%E5%AD%90/%E5%8F%8C%E5%AD%90%E6%98%9F%E4%BA%91%E6%89%8B%E6%9C%BA/CloudPlayer/View/PlayerView.m"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "392"
-                  endingLineNumber = "392">
-               </Location>
-               <Location
-                  uuid = "D92195D1-CA82-4378-A2CE-634F99BBB202 - 2130b57f8bffa7a9"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "__68-[PlayerView setLanMas_makeWithImageRate:isOpenVirtual:isUsageMode:]_block_invoke_2"
-                  moduleName = "&#x9690;&#x79c1;&#x4fdd;&#x62a4;"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/xdh/Desktop/%E5%88%9B%E7%BB%B4%E7%9B%92%E5%AD%90/%E5%88%9B%E7%BB%B4%E7%9B%92%E5%AD%90/%E5%8F%8C%E5%AD%90%E6%98%9F%E4%BA%91%E6%89%8B%E6%9C%BA/CloudPlayer/View/PlayerView.m"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "393"
-                  endingLineNumber = "393">
-               </Location>
-            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -357,84 +263,6 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "CF0791BF-FC70-41D2-BC99-F18BA9DED973"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/AppDelegate/AppDelegate.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "192"
-            endingLineNumber = "192"
-            landmarkName = "-application:openURL:sourceApplication:annotation:"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "AF79BE94-8A1B-448B-8B96-A9606CFFC280"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/AppDelegate/AppDelegate.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "171"
-            endingLineNumber = "171"
-            landmarkName = "-applicationWillEnterForeground:"
-            landmarkType = "7">
-            <Locations>
-               <Location
-                  uuid = "AF79BE94-8A1B-448B-8B96-A9606CFFC280 - 288ed43b6bbf323d"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "-[AppDelegate applicationWillEnterForeground:]"
-                  moduleName = "&#x9690;&#x79c1;&#x4fdd;&#x62a4;"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/xdh/Desktop/%E5%88%9B%E7%BB%B4%E7%9B%92%E5%AD%90/%E5%88%9B%E7%BB%B4%E7%9B%92%E5%AD%90/%E5%8F%8C%E5%AD%90%E6%98%9F%E4%BA%91%E6%89%8B%E6%9C%BA/AppDelegate/AppDelegate.m"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "171"
-                  endingLineNumber = "171">
-               </Location>
-               <Location
-                  uuid = "AF79BE94-8A1B-448B-8B96-A9606CFFC280 - b71c8eff46da8e6d"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "__46-[AppDelegate applicationWillEnterForeground:]_block_invoke"
-                  moduleName = "&#x9690;&#x79c1;&#x4fdd;&#x62a4;"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/xdh/Desktop/%E5%88%9B%E7%BB%B4%E7%9B%92%E5%AD%90/%E5%88%9B%E7%BB%B4%E7%9B%92%E5%AD%90/%E5%8F%8C%E5%AD%90%E6%98%9F%E4%BA%91%E6%89%8B%E6%9C%BA/AppDelegate/AppDelegate.m"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "173"
-                  endingLineNumber = "173">
-               </Location>
-            </Locations>
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "4F453F96-CCA2-4869-AC7E-4F1A38C75B78"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/AppDelegate/AppDelegate.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "188"
-            endingLineNumber = "188"
-            landmarkName = "-application:openURL:sourceApplication:annotation:"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
             uuid = "81032BF0-603A-4136-8D65-1412DF173FF5"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
@@ -507,25 +335,7 @@
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "667"
-            endingLineNumber = "667"
-            landmarkName = "-beginLinkWebSocketFun"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "E663595C-97AC-4F69-8E5F-8002B5B4C50C"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "&#x53cc;&#x5b50;&#x661f;&#x4e91;&#x624b;&#x673a;/AppDelegate/SceneDelegate.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "1101"
-            endingLineNumber = "1101"
-            landmarkName = "-forgetPwdDidSetPwdFun:"
-            landmarkType = "7">
+            endingLineNumber = "667">
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy

+ 1 - 0
创维盒子/双子星云手机/AppDelegate/AppDelegate.h

@@ -11,6 +11,7 @@
 #import "couldPhoneBaseInfoModel.h"
 #import "TvStatusModel.h"
 #import "webRtcMsgModel.h"
+#import "DeviceThirdIdModel.h"
 
 @interface AppDelegate : UIResponder <UIApplicationDelegate>
 

+ 0 - 1
创维盒子/双子星云手机/AppDelegate/AppDelegate.m

@@ -11,7 +11,6 @@
 #import "AudioSessionObject.h"
 #import "DDYLanguageTool.h"
 #import "PLeakSniffer.h"
-#import "connectDeviceManager.h"
 #import <Bugly/Bugly.h>
 #import <JJException/JJException.h>
 #import <WXApi.h>

+ 10 - 2
创维盒子/双子星云手机/AppDelegate/PrefixHeader.pch

@@ -46,16 +46,24 @@
 #import "AFNetworkReachabilityManager.h"
 
 #import "AppDelegate.h"
-#import "connectDeviceManager.h"
 #import "cachesFileManager.h"
 #import "ComontAlretViewController.h"
-#import "webSocketManager.h"
 #import "webRtcManager.h"
 #import "pingManager.h"
 
 #import "MJExtension.h"
 #import "RSATool.h"
 #import "lastFileManager.h"
+#import "DeviceThirdIdModel.h"
+#import "RCCommandHelp.h"
+#import "DFPlayer.h"
+#import "couldPhoneFileListModel.h"
+#import "uploadFileManager.h"
+#import "nasBackupsManager.h"
+#import "backupsFileManager.h"
+#import "boxDownloadFileManager.h"
+#import "nasDownloadFileManager.h"
+#import "audioPlayingView.h"
 
 #ifdef DEBUG // 调试状态, 打开LOG功能
 #define HLog(fmt, ...) NSLog((@"%@ %s [Line %d] " fmt),[iTools getNowTimeString3], __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);

+ 0 - 24
创维盒子/双子星云手机/AppDelegate/SceneDelegate.m

@@ -11,11 +11,9 @@
 #import "SetUsePWDViewController.h"
 #import "GuideViewController.h"
 #import "BaseNavigationController.h"
-#import "MySetViewController.h"
 #import "SafeForKey.h"
 #import "TipsQRCodeViewController.h"
 #import "SetPWDFirstViewController.h"
-#import "connectDeviceManager.h"
 #import "inputPWDViewController.h"
 #import "customLaunchView.h"
 #import "RSATool.h"
@@ -243,27 +241,6 @@
     NSString *SNStr = deviceDict[@"Const_Have_Add_Device_SN"];
     NSString *sdnId = ksharedAppDelegate.DeviceThirdIdMod.data.sdnId;
     if(SNStr && !sdnId){
-        //瑞云方案
-//        [[connectDeviceManager shareInstance] getThridMsgBySN:SNStr needReconnect:YES didNetEnd:^(NSInteger didSuc) {
-//            
-//            if(didSuc == 0){
-//                dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-//                    mainBlock(^{
-//                        [weakSelf showNetErrorAlertFun];
-//                        [weakSelf enterMainVCFromSceneSecondStepFun];
-//                    });
-//                });
-//            }
-//            else if(didSuc == 2
-//                    ||didSuc == 201
-//                    ||didSuc == 202){
-//                [weakSelf gotoScanAginByThridMsgErrorFun:didSuc];
-//            }
-//            else{
-//                [weakSelf enterMainVCFromSceneSecondStepFun];
-//            }
-//            
-//        }];
         
         //webrtc方案
         NSMutableDictionary *paraDict = [NSMutableDictionary new];
@@ -593,7 +570,6 @@
 - (void)sceneDidDisconnect:(UIScene *)scene  API_AVAILABLE(ios(13.0)){
     HLog(@"sceneDidDisconnect");
     
-    //[[connectDeviceManager shareInstance] disconnect];
 }
 
 

+ 0 - 8
创维盒子/双子星云手机/Class/Calculator/CalculatorViewController.m

@@ -2,7 +2,6 @@
 
 #import "CalculatorViewController.h"
 #import <Masonry.h>
-#import "connectDeviceManager.h"
 #import "RSATool.h"
 #import "customToastVew.h"
 
@@ -364,13 +363,6 @@
         [self verifyPwdFun:tf.text];
     }
     
-//    if ([tf.text isEqualToString:pwd]){
-//        [connectDeviceManager shareInstance].isFirstInputPwdDone = YES;
-//
-//        [[NSNotificationCenter defaultCenter] postNotificationName:ShowImgAndVoiceNotification object:nil];
-//
-//        [self.view removeFromSuperview];
-//    }
 }
 
 #pragma mark 验证密码是否正确

+ 0 - 7
创维盒子/双子星云手机/Class/Controller/HWWebViewController.m

@@ -17,7 +17,6 @@
 
 #import "HWHistoryModel.h"
 #import "iPhone.h"
-#import "connectDeviceManager.h"
 #import "RSATool.h"
 #import "customToastVew.h"
 
@@ -287,12 +286,6 @@
         [self verifyPwdFun:text];
     }
     
-//    if ([_pwd isEqualToString:text] && (_pwd.length == 4)){
-//        [connectDeviceManager shareInstance].isFirstInputPwdDone = YES;
-//        
-//        [self.view removeFromSuperview];
-//        [[NSNotificationCenter defaultCenter] postNotificationName:ShowImgAndVoiceNotification object:nil];
-//    }
     
     if (text.length != 0) {
 

+ 0 - 1
创维盒子/双子星云手机/Class/Guide/AuthCodeView/AuthCodeInputView.m

@@ -7,7 +7,6 @@
 
 #import "AuthCodeInputView.h"
 #import "AuthCodeTextField.h"
-#import "connectDeviceManager.h"
 #import "RSATool.h"
 
 @interface AuthCodeInputView () <UITextFieldDelegate,AuthCodeDeleteDelegate>

+ 0 - 12
创维盒子/双子星云手机/Class/Guide/GuideViewController.m

@@ -11,7 +11,6 @@
 #import "GuideView.h"
 #import "GuideLastView.h"
 #import "SetPWDFirstViewController.h"
-#import "connectDeviceManager.h"
 #import "inputPWDViewController.h"
 
 @interface GuideViewController ()<UIScrollViewDelegate>
@@ -66,17 +65,6 @@
             HLog(@"没有拿到设备信息");
             
             KWeakSelf
-//            [[connectDeviceManager shareInstance] getThridMsgBySN:sn needReconnect:YES didNetEnd:^(NSInteger didSuc) {
-//                if(didSuc){
-//                    
-//                }
-//                else{
-//                    [[iToast makeText:NSLocalizedString(@"guide_qrcoede_tips_get_SdnID_fail",nil)] show];
-//                }
-//                
-//                [weakSelf startMoveView];
-//            }];
-            
             [[netWorkManager shareInstance] getThridMsgBySN:sn success:^(id  _Nonnull responseObject) {
                 DeviceThirdIdModel *model = responseObject;
                 if([model isKindOfClass:[DeviceThirdIdModel class]]){

+ 0 - 40
创维盒子/双子星云手机/Class/Set/MySetViewController.h

@@ -1,40 +0,0 @@
-//
-//  MySetViewController.h
-//
-//
-//  Created by APPLE on 2023/8/17.
-//
-
-#import "BaseViewController.h"
-#import "backupsFileManager.h"
-#import "nasUploadFileManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface MySetViewController : BaseViewController
-/**
- * @brief  云机状态( 0:不存在 1:有效时间 2:有效时间不足 3:过期未回收 )   1、2为VIP状态  0、3 非VIP状态
- */
-//@property(nonatomic, assign)NSInteger whetherPhoneStatus;
-
-//重启盒子
-@property (nonatomic,copy) void (^needToReboot)(void);
-//tv投屏
-@property (nonatomic,copy) void (^needToTVP2P)(void);
-//关闭tv投屏
-@property (nonatomic,copy) void (^closeTVP2P)(void);
-
-//恢复出厂盒子
-@property (nonatomic,copy) void (^needToReset)(void);
-//恢复出厂盒子 时间到了
-@property (nonatomic,copy) void (^needToResetAndOk)(void);
-
-
-//获取版本信息空间
-@property (nonatomic,copy) void (^getSysInfo)(void);
-
-//获取投屏状态
-@property (nonatomic,copy) void (^getTvStatus)(void);
-@end
-
-NS_ASSUME_NONNULL_END

File diff suppressed because it is too large
+ 0 - 1166
创维盒子/双子星云手机/Class/Set/MySetViewController.m


+ 1 - 0
创维盒子/双子星云手机/Class/Set/appUpdate/AboutViewController.m

@@ -17,6 +17,7 @@
 #import "SuperModel.h"
 #import "allVersionView.h"
 #import "baseTableViewCell.h"
+#import "couldphoneSysInfoModel.h"
 
 @interface AboutViewController ()<UITableViewDelegate,UITableViewDataSource>
 @property (nonatomic, strong) UIButton *checUpdatekBtn;

+ 1 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/downLoadFile/downLoadPreviewViewController.m

@@ -574,7 +574,7 @@
     }
     [dict setObject:_defaultDiskPath forKey:@"path"];
     
-    [[webSocketManager shareInstance] searchFileListBeginFun:dict];
+    //[[webSocketManager shareInstance] searchFileListBeginFun:dict];
     //[self showNewIndicatorWithCanBack:YES canTouch:NO];
     [self showNewIndicatorHaveStrWithCanBack:YES canTouch:NO showText:NSLocalizedString(@"common_loading_tip",nil)];
     

+ 0 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/backupsFileManager.h

@@ -6,7 +6,6 @@
 //
 
 #import <Foundation/Foundation.h>
-#import "connectDeviceManager.h"
 #import "TZImageManager.h"
 #import "photosBackupsTaskModel.h"
 

+ 2 - 3
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/backupsFileManager.m

@@ -7,7 +7,6 @@
 
 #import "backupsFileManager.h"
 #import "cachesFileManager.h"
-#import "connectDeviceManager.h"
 #import "AFNetworkReachabilityManager.h"
 
 @interface backupsFileManager ()
@@ -375,7 +374,7 @@ static backupsFileManager * cur_backupsFileShareInstance = nil;
     _curPhotosBackupsTaskMod.imageData = imageData;
     _curPhotosBackupsTaskMod.didUploadBytes = 0;
     _curPhotosBackupsTaskMod.totalBytes = [imageData length];
-    [[webSocketManager shareInstance] beginGotoBackupsFileFunBy:_curPhotosBackupsTaskMod];
+    //[[webSocketManager shareInstance] beginGotoBackupsFileFunBy:_curPhotosBackupsTaskMod];
     [self RefreshDatabaseFun];
     [self changeBackupsFileStateFun];
 }
@@ -406,7 +405,7 @@ static backupsFileManager * cur_backupsFileShareInstance = nil;
     }
     
     
-    [[webSocketManager shareInstance] beginGotoBackupsFileFunBy:_curPhotosBackupsTaskMod];
+    //[[webSocketManager shareInstance] beginGotoBackupsFileFunBy:_curPhotosBackupsTaskMod];
     [self RefreshDatabaseFun];
     [self changeBackupsFileStateFun];
 }

+ 5 - 5
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/downloadManager.m

@@ -251,7 +251,7 @@ static downloadManager * cur_downloadManager = nil;
     
     _curDownloadFileModel.curDownloadStateType = downloadStateUploading;
     
-    [[webSocketManager shareInstance] begindownloadFileFunBy:_curDownloadFileModel];
+    //[[webSocketManager shareInstance] begindownloadFileFunBy:_curDownloadFileModel];
 }
 
 - (void)DownloadFileDoneOneFileFun
@@ -556,7 +556,7 @@ static downloadManager * cur_downloadManager = nil;
         return;
     }
     
-    [[webSocketManager shareInstance] begindownloadFileFunBy:_curDownloadFileModel];
+    //[[webSocketManager shareInstance] begindownloadFileFunBy:_curDownloadFileModel];
 }
 
 - (BOOL)checkDownloadingFun
@@ -695,9 +695,9 @@ static downloadManager * cur_downloadManager = nil;
                 [self deleteFileInfoWithUrl:key];
             }
             else{//存在 通知保存流程
-                dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-                    [[webSocketManager shareInstance] saveDownDoneFileToPhoneFunBy:fullPath withKey:model.path];
-                });
+//                dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+//                    [[webSocketManager shareInstance] saveDownDoneFileToPhoneFunBy:fullPath withKey:model.path];
+//                });
                 break;
             }
         }

+ 1 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/downloadThumbnailManager.m

@@ -128,7 +128,7 @@ static downloadThumbnailManager * cur_downloadFileShareInstance = nil;
     }
     
     self.taskRenewTime = [iTools getNowTimeStamp];
-    [[webSocketManager shareInstance] begindownloadThumbnailImageFunBy:_curDownloadFileModel];
+    //[[webSocketManager shareInstance] begindownloadThumbnailImageFunBy:_curDownloadFileModel];
 }
 
 - (void)DownloadFileDoneOneFileFun

+ 0 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/uploadFileManager.h

@@ -10,7 +10,6 @@
 #import "TZImageManager.h"
 #import "TZAssetModel+imageData.h"
 #import "cachesFileManager.h"
-#import "connectDeviceManager.h"
 
 
 //#define upLoadFile_image_tableName @"upLoadFile_image_tableName"

+ 8 - 8
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/uploadFileManager.m

@@ -322,7 +322,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
                 _curUploadFileDataModel.totalBytes = _curUploadFileDataModel.imageData.length;
             }
             
-            [[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
+            //[[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
             return;
         }
         
@@ -332,7 +332,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
         
         if([cachesFileManager checkFileIsSaveState:_curUploadFileDataModel.filename withType:uploadFileTypeVideo]){
         
-            [[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
+            //[[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
             return;
         }
     }
@@ -416,7 +416,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
 {
     [cachesFileManager getFileNameWithContent:_curUploadFileDataModel.imageData fileName:_curUploadFileDataModel.filename type:uploadFileTypeImage];
     
-    [[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
+    //[[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
 }
 
 - (void)afterGetImageDataInVideoFun
@@ -430,7 +430,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
     
     _curUploadFileDataModel.videoData = nil;
     
-    [[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
+    //[[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
 }
 
 //修改文件上传的状态
@@ -649,7 +649,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
     }
     
     if(isSuspendAll){
-        [[webSocketManager shareInstance] suspendUploadFileFun];
+        //[[webSocketManager shareInstance] suspendUploadFileFun];
        
         for (uploadFileDataModel*model in _fileModelDataArr) {
             model.curUploadStateType = uploadStateSuspend;
@@ -667,7 +667,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
             curModel = model;
         }
         else{
-            [[webSocketManager shareInstance] suspendUploadFileFun];
+            //[[webSocketManager shareInstance] suspendUploadFileFun];
         }
 
         curModel.curUploadStateType = uploadStateSuspend;
@@ -853,7 +853,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
             if(_curUploadFileDataModel.bg_id.integerValue == uploadFileDataMod.bg_id.integerValue){
                 isDelUploadingModel = YES;
                 
-                [[webSocketManager shareInstance] suspendUploadFileFun];
+               // [[webSocketManager shareInstance] suspendUploadFileFun];
             }
         }
     }
@@ -954,7 +954,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
         return;
     }
     
-    [[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
+    //[[webSocketManager shareInstance] beginGotoUploadFileFunBy:_curUploadFileDataModel];
 }
 
 - (BOOL)checkUploadingFun

+ 0 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileRecordViewController.m

@@ -19,7 +19,6 @@
 #import "photosBackupsTaskModel.h"
 //#import "downloadManager.h"
 #import "downloadFileRecordTableView.h"
-#import "MySetViewController.h"
 #import "receiveView.h"
 #import "ComontAlretDeleteTypeViewController.h"
 #import "nonWifiTipInRecordView.h"

+ 1 - 8
创维盒子/双子星云手机/Class/Set/view/allVersionView.m

@@ -7,7 +7,6 @@
 
 #import "allVersionView.h"
 #import "couldphoneSysInfoModel.h"
-#import "connectDeviceManager.h"
 #import "iPhone.h"
 
 @interface allVersionView ()<UITableViewDelegate,UITableViewDataSource>
@@ -241,13 +240,7 @@
             }
                 break;
             case 10:{
-//                NSString *curIp = ksharedAppDelegate.DeviceThirdIdMod.data.ip;
-//                NSString * networkStr = @"_LAN";
-//                if(![connectDeviceManager shareInstance].isPingOk){
-//                    networkStr = @"_Not_LAN";
-//                }
-//                cell.detailTextLabel.text = [[NSString alloc] initWithFormat:@"%@%@",curIp,networkStr];
-                
+               
                 NSString * networkStr = @"公网";
                 if([pingManager shareManager].isPingOk){
                     networkStr = @"局域网";

+ 0 - 28
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AdjustBtnFrame.h

@@ -1,28 +0,0 @@
-//
-//  CloudPhoneViewController+RBDConnect.h
-// GBOX
-//
-//  Created by APPLE on 2021/8/16.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import "PlayerViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PlayerViewController(AdjustBtnFrame)
-{
-    
-}
-
-/**3s后 圆形浮标自动靠边隐藏*/
-@property NSInteger          adjustTime;
-
-- (void)playerViewControlBtnTouchBegan;
-- (void)playerViewControlBtnTouchEnd;
-- (void)extensionAdjustBtnFrameCheckAdjustTime;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 176
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AdjustBtnFrame.m

@@ -1,176 +0,0 @@
-//
-//  CloudPhoneViewController+RBDConnect.m
-// GBOX
-//
-//  Created by APPLE on 2021/8/16.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import "PlayerViewController+AdjustBtnFrame.h"
-#import <objc/runtime.h>
-#import "UIView+View.h"
-
-//@interface PlayerViewController(AdjustBtnFrame)
-//
-//@end
-
-@implementation PlayerViewController(AdjustBtnFrame)
-@dynamic adjustTime;
-
-- (void)setAdjustTime:(NSInteger)adjustTime {
-    objc_setAssociatedObject(self, @selector(adjustTime), @(adjustTime), OBJC_ASSOCIATION_ASSIGN);
-}
-
-- (NSInteger)adjustTime {
-    NSNumber *adjustTimeNumber =  objc_getAssociatedObject(self, @selector(adjustTime));
-    
-    return [adjustTimeNumber integerValue];
-}
-
-#pragma mark 悬浮球3s后自动靠边隐藏
-//(1、3s之后 控制按钮靠边隐藏2/3、降低透明度1.0 2、点击之后 自动弹出控制按钮 透明度改为1.0)
-- (void)playerViewControlBtnTouchBegan {
-//    HLog(@"云手机推流界面 控制按钮手势开始");
-    [self adjustPlayerViewControlBtnFrame2];
-}
-
-- (void)playerViewControlBtnTouchEnd {
-//    HLog(@"云手机推流界面 控制按钮手势结束");
-    self.adjustTime = 3;
-}
-
-// 控制按钮3s后 自动靠边算法
-- (void)adjustPlayerViewControlBtnFrame1 {
-    
-    CGFloat margin = 60/2.0;
-    CGFloat W_H = 60;
-    mPlayerView.controlBtn.alpha = 0.5;
-    
-    CGPoint centerPoint = mPlayerView.controlBtn.center;
-//    HLog(@"云手机推流界面 控制按钮中点%@",NSStringFromCGPoint(centerPoint));
-    
-    if (mPlayerView.width > mPlayerView.height){
-        CGFloat centerY = mPlayerView.height*0.5;
-        CGFloat value1Y =  centerY - centerPoint.y;
-        //CGFloat adaptValue =  (SCREEN_W - mPlayerView.glkshowImageView.hw_h)*0.5; // 补偿刘海屏上下黑边
-        
-        if (value1Y >= 0) { // 左边
-            HLog(@"云手机推流界面 靠上边");
-            mPlayerView.controlBtn.y = - W_H + margin;
-        }else { // 右边
-            HLog(@"云手机推流界面 靠下边");
-            mPlayerView.controlBtn.y = SCREEN_H - margin;
-        }
-        
-        if (mPlayerView.controlBtn.x < margin){
-            mPlayerView.controlBtn.x = margin;
-        }else if (mPlayerView.controlBtn.x > mPlayerView.width - margin - W_H){
-            mPlayerView.controlBtn.x = mPlayerView.width - margin - W_H;
-        }
-        
-    }else{
-        CGFloat centerX = SCREEN_W*0.5;
-        CGFloat value1X =  centerX - centerPoint.x;
-        
-        if (value1X >= 0) { // 左边
-            HLog(@"云手机推流界面 靠左边");
-            mPlayerView.controlBtn.x = - W_H + margin;
-        }else { // 右边
-            HLog(@"云手机推流界面 靠右边");
-            mPlayerView.controlBtn.x = SCREEN_W - margin;
-        }
-        
-        if (mPlayerView.controlBtn.y < margin){
-            mPlayerView.controlBtn.y = margin;
-        }else if (mPlayerView.controlBtn.y > mPlayerView.height - margin - W_H){
-            mPlayerView.controlBtn.y = mPlayerView.height - margin - W_H;
-        }
-    }
-
-
-    HLog(@"云手机推流界面 控制按钮中点%@",NSStringFromCGPoint(mPlayerView.controlBtn.center));
-}
-
-// 控制按钮点击之后 从半隐藏状态弹出算法
-- (void)adjustPlayerViewControlBtnFrame2 {
-    
-//    CGFloat margin = 10;
-//    CGFloat W_H = 60;
-//    mPlayerView.controlBtn.alpha = 1.0;
-//
-//    CGPoint centerPoint = mPlayerView.controlBtn.center;
-////    HLog(@"云手机推流界面 控制按钮中点%@",NSStringFromCGPoint(centerPoint));
-//
-//    CGFloat centerX =  SCREEN_W*0.5;
-//    CGFloat centerY =  SCREEN_H*0.5;
-//    CGFloat value1X =  centerX  - centerPoint.x;
-//    CGFloat value1Y =  centerY  - centerPoint.y;
-//    CGFloat value2X =  SCREEN_W - centerPoint.x;
-//    CGFloat value2Y =  SCREEN_H - centerPoint.y;
-//    CGFloat adaptValue =  (SCREEN_H - mPlayerView.glkshowImageView.hw_h)*0.5; // 补偿刘海屏上下黑边
-//    if ([self.deviceModel isOpenVirtualKey]) {
-//        adaptValue -= 20;
-//    }
-//
-//    if (value1X >= 0) { // 左边
-//
-//        if (value1Y >= 0) { // 上边
-////            HLog(@"云手机推流界面 左上角");
-//            if (fabs(centerPoint.x) > fabs(centerPoint.y - adaptValue)) {
-//                HLog(@"云手机推流界面 靠上边");
-//                mPlayerView.controlBtn.y = margin + adaptValue;
-//            }else {
-//                HLog(@"云手机推流界面 靠左边");
-//                mPlayerView.controlBtn.x = margin;
-//            }
-//
-//        }else { // 下边
-////            HLog(@"云手机推流界面 左下角");
-//            if (fabs(centerPoint.x) > fabs(value2Y - adaptValue)) {
-//                HLog(@"云手机推流界面 靠下边");
-//                mPlayerView.controlBtn.y = SCREEN_H - W_H - margin - adaptValue;
-//            }else {
-//                HLog(@"云手机推流界面 靠左边");
-//                mPlayerView.controlBtn.x = margin;
-//            }
-//        }
-//
-//    }else { // 右边
-//        if (value1Y >= 0) { // 上边
-////            HLog(@"云手机推流界面 右上角");
-//            if (fabs(value2X) > fabs(centerPoint.y - adaptValue)) {
-//                HLog(@"云手机推流界面 靠上边");
-//                mPlayerView.controlBtn.y = margin + adaptValue;
-//            }else {
-//                HLog(@"云手机推流界面 靠右边");
-//                mPlayerView.controlBtn.x = SCREEN_W - W_H - margin;
-//            }
-//
-//        }else { // 下边
-////            HLog(@"云手机推流界面 右下角");
-//            if (fabs(value2X) > fabs(value2Y - adaptValue)) {
-//                HLog(@"云手机推流界面 靠下边");
-//                mPlayerView.controlBtn.y = SCREEN_H - W_H - margin - adaptValue;
-//            }else {
-//                HLog(@"云手机推流界面 靠右边");
-//                mPlayerView.controlBtn.x = SCREEN_W - W_H - margin;
-//            }
-//        }
-//    }
-//
-//    HLog(@"云手机推流界面 控制按钮中点%@",NSStringFromCGPoint(mPlayerView.controlBtn.center));
-}
-
-// 1、悬浮球3s后 自动靠边隐藏
-- (void)extensionAdjustBtnFrameCheckAdjustTime {
-    self.adjustTime--;
-    
-    if (self.adjustTime <= 0) {
-//        HLog(@"云手机圆形浮标自动隐藏倒计时 3s倒计时结束");
-        [self adjustPlayerViewControlBtnFrame1];
-    }else {
-//        HLog(@"云手机圆形浮标自动隐藏倒计时:%zd", self.adjustTime);
-    }
-}
-
-@end

+ 0 - 26
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AppDelegate.h

@@ -1,26 +0,0 @@
-//
-//  CloudPhoneViewController+RBDConnect.h
-// GBOX
-//
-//  Created by APPLE on 2021/8/16.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import "PlayerViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PlayerViewController(AppDelegate)
-{
-    
-}
-@property NSString *nowSSid;
-
-- (void)updateCopydata;
-
-#pragma mark 全面屏与TV投屏逻辑交互
-- (void)checkFullScreenWithTVShowStateFun;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 192
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AppDelegate.m

@@ -1,192 +0,0 @@
-//
-//  CloudPhoneViewController+RBDConnect.m
-// GBOX
-//
-//  Created by APPLE on 2021/8/16.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import "PlayerViewController+AppDelegate.h"
-#import "AppDelegate.h"
-#import <SystemConfiguration/CaptiveNetwork.h>
-#import <RCCloudPhoneSDK/RCAudioPlayer.h>
-#import "ShortcutManager.h"
-#import <objc/runtime.h>
-#import "RCCommandHelp.h"
-#import "PlayerViewController+otherDelegate.h"
-
-//@interface PlayerViewController(AppDelegate)
-//
-//@end
-
-@implementation PlayerViewController(AppDelegate)
-@dynamic nowSSid;
-
-- (void)setNowSSid:(NSString *)nowSSid {
-    objc_setAssociatedObject(self, @selector(nowSSid), nowSSid, OBJC_ASSOCIATION_COPY);
-}
-
-- (NSString *)nowSSid {
-    return objc_getAssociatedObject(self, @selector(nowSSid));
-}
-
-#pragma mark - UIApplication Delegate
-- (void)applicationWillResignActive:(NSNotification *)notification
-{
-    self.nowSSid = [self observeWiFi];
-    
-    if (USEAAC)
-    {
-        if (aacPlayer)
-        {
-            [aacPlayer stop];
-       
-            aacPlayer = nil;
-        }
-    }
-    
-    [self setShowImgAndVoiceTypeFun:NO];
-}
-
-- (void)applicationDidEnterBackground:(NSNotification *)notification {
-    // 当前控制器是PlayerViewController app进入后台时 移除alert
-    UIViewController *currentVC = [[ShortcutManager shareInstance] findCurrentShowingViewController];
-    if ([currentVC isKindOfClass:[UIAlertController class]]) {
-        UIAlertController *alertVC = (UIAlertController *)currentVC;
-        NSMutableAttributedString *attriMsg = [alertVC valueForKey:@"_attributedMessage"];
-        if ([attriMsg.string containsString:@"授权方已收回控制权,您进入观看屏幕模式。"] ||
-            [attriMsg.string containsString:@"当前云手机正在受控,是否请求获取云手机控制权?"] ||
-            [attriMsg.string containsString:@"当前云手机正在受控,进入云手机后,只能预览屏幕"]) {
-            return;
-        }
-
-        [currentVC dismissViewControllerAnimated:NO completion:nil];
-    }
-    
-    self.needToDissconnectType = YES;
-    [self disconnectVideoServer];
-    
-    HLog(@"开始进入后台");
-    //[cachesFileManager writeLogsWithMsg:@"EnterBackground"];
-}
-
-- (void)applicationDidBecomeActive:(NSNotification *)notification
-{
-    NSString *tempSSID = [self observeWiFi];
-    
-    self.nowSSid = tempSSID;
-    
-    
-    if ([wattingView superview])
-    {
-        [self removeNewIndicator];
-        [self showNewIndicator];
-    }
-    
-    if (![tempSSID isEqualToString:self.nowSSid] && ![@"<<NONE>>" isEqualToString:tempSSID] && ![@"<<NONE>>" isEqualToString:self.nowSSid])
-    {
-        [self showNewIndicator];
-        [self tryAgain];
-        
-        return;
-    }
-    
-    if(self.needToDissconnectType){
-        self.needToDissconnectType = NO;
-        [self tryAgain];
-    }
-    else{
-        [self requestIFrame];
-    }
-    
-    
-    [self setShowImgAndVoiceTypeFun:YES];
-    [self updateCopydata];
-    
-    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-        [self checkFullScreenWithTVShowStateFun];
-    });
-}
-
-- (void)applicationWillTerminate:(UIApplication *)application {
-    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-    
-    [self disconnectVideoServer];
-}
-
-- (NSString *)observeWiFi{
-        NSString *currentSSID = @"Not Found";
-        CFArrayRef myArray = CNCopySupportedInterfaces();
-        if (myArray != nil){
-            NSDictionary* myDict = (__bridge NSDictionary *)CNCopyCurrentNetworkInfo((CFStringRef)CFArrayGetValueAtIndex(myArray,0));
-            if (myDict!=nil){
-                currentSSID=[myDict valueForKey:@"SSID"];
-            } else {
-                currentSSID=@"<<NONE>>";
-            }
-        } else {
-            currentSSID=@"<<NONE>>";
-        }
-    
-    if (myArray)
-    {
-        CFRelease(myArray);
-    }
-    
-        return currentSSID;
-}
-
-- (void)updateCopydata{
-    UIPasteboard* pasteboard = [UIPasteboard generalPasteboard];
-    NSString *str = [pasteboard string];
-    
-    HLog(@"__________%s______%@____",__func__,str);
-    
-    if ([str rangeOfString:@"CVLUSTERS_NOUSE_"].location != NSNotFound)
-    {
-        str = nil;
-    }
-    
-    if (str && str.length >0)
-    {
-        //HLog(@"hxd111 cutting  %@",str);
-        /*发送数据*/
-        NSString *dataStr = [RCCommandHelp commandCuttingWithContent:str];
-        [[webSocketManager shareInstance] send_data:dataStr];
-        //pasteboard.string = @"";
-    }
-    
-}
-
-#pragma mark 全面屏与TV投屏逻辑交互
-- (void)checkFullScreenWithTVShowStateFun
-{
-    BOOL isTVShowType = ksharedAppDelegate.TvStatusMod.isTVShowType;
-    BOOL fullscreenType = [HWDataManager getBoolWithKey:Consn_player_full_screen_show];
-    
-    if(isTVShowType && fullscreenType){//关闭全屏屏
-        [HWDataManager setBoolWithKey:Consn_player_full_screen_show value:NO];
-        fullscreenType = NO;
-        //通知界面修改UI
-        [[NSNotificationCenter defaultCenter] postNotificationName:setPlayerFullScreenNotification object:nil];
-    }
-    
-    //重新设置分辨率
-    if(fullscreenType){
-        NSString *commandStr = [RCCommandHelp commondToSetFullScreenPhoneSize];
-        [[webSocketManager shareInstance] send_data:commandStr];
-    }
-    else{
-        if ((ksharedAppDelegate.couldPhone_W_PHONE == 720 && ksharedAppDelegate.couldPhone_H_PHONE == 1280)
-            || (ksharedAppDelegate.couldPhone_W_PHONE == 1080 && ksharedAppDelegate.couldPhone_H_PHONE == 1920)) {//云机可能存在的分辨率
-            
-        }
-        else{
-            NSString *commondStr  = [RCCommandHelp setPhoneSizecommandWithWidth:1080 high:1920 dpi:480];
-            //NSString *commondStr  = @"{\"data\":{\"height\":1920,\"width\":1080},\"type\":\"setPhoneSize\"}";
-            [[webSocketManager shareInstance] send_data:commondStr];
-        }
-    }
-}
-
-@end

+ 0 - 19
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+TouchPointXD.h

@@ -1,19 +0,0 @@
-//
-//  CloudPhoneViewController+RBDConnect.h
-// GBOX
-//
-//  Created by APPLE on 2021/8/16.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import "PlayerViewController.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PlayerViewController(TouchPointXD)
-
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 58
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+TouchPointXD.m

@@ -1,58 +0,0 @@
-//
-//  CloudPhoneViewController+RBDConnect.m
-// GBOX
-//
-//  Created by APPLE on 2021/8/16.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import "PlayerViewController+TouchPointXD.h"
-
-@interface PlayerViewController(TouchPointXD)
-
-@end
-
-@implementation PlayerViewController(TouchPointXD)
-
-//#pragma mark ---UIResponder
-- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
-    [super touchesBegan:touches withEvent:event];
-    
-    NSSet *allTouch = [event allTouches];
-    UITouch *touch = [allTouch anyObject];
-    CGPoint point = [touch locationInView:[touch view]];
-    int x = point.x;
-    int y = point.y;
-    
-    NSString *time_began = [NSString stringWithFormat:@"%zd",[iTools getNowTimeStampSS]];
-    [HWDataManager setStringWithKey:@"XD_Began_x" value:[NSString stringWithFormat:@"%d",x]];
-    [HWDataManager setStringWithKey:@"XD_Began_y" value:[NSString stringWithFormat:@"%d",y]];
-    [HWDataManager setStringWithKey:@"XD_time_began" value:time_began];
-}
-
-- (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event{
-    
-    [super touchesMoved:touches withEvent:event];
-}
-- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event{
-    
-    [super touchesEnded:touches withEvent:event];
-    
-    NSSet *allTouch = [event allTouches];
-    UITouch *touch = [allTouch anyObject];
-    CGPoint point = [touch locationInView:[touch view]];
-    int x = point.x;
-    int y = point.y;
-    
-    NSString *time_end = [NSString stringWithFormat:@"%zd",[iTools getNowTimeStampSS]];
-    [HWDataManager setStringWithKey:@"XD_End_x" value:[NSString stringWithFormat:@"%d",x]];
-    [HWDataManager setStringWithKey:@"XD_End_y" value:[NSString stringWithFormat:@"%d",y]];
-    [HWDataManager setStringWithKey:@"XD_time_end_y" value:time_end];
-}
-- (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event{
-    
-    [super touchesCancelled:touches withEvent:event];
-    
-}
-
-@end

+ 0 - 31
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+otherDelegate.h

@@ -1,31 +0,0 @@
-//
-//  PlayerViewController+otherDelegate.h
-// GBOX
-//
-//  Created by David on 2023/10/13.
-//
-
-#import "PlayerViewController.h"
-#import "couldPhoneCommonModel.h"
-#import "noticeModel.h"
-#import "HaveNoticeView.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface PlayerViewController (otherDelegate)
-
-
-//强制重启
-- (void)updateForceStartFun;
-
-
-- (void)checkAllTaskFun;
-#pragma mark 保存截图到相册
-- (void)screenShotToPhoneFun;
-- (void)saveLastImageFun;
-- (void)readLastImageFun;
-#pragma mark 全屏屏重置云机编码
-- (void)reSetResolutionFactorFun;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 148
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+otherDelegate.mm

@@ -1,148 +0,0 @@
-//
-//  PlayerViewController+otherDelegate.m
-// GBOX
-//
-//  Created by David on 2023/10/13.
-//
-
-#import "PlayerViewController+otherDelegate.h"
-#import "RCCommandHelp.h"
-#import "couldPhoneBaseInfoModel.h"
-#import "cachesFileManager.h"
-#import "couldphoneSysInfoModel.h"
-#import "TvStatusModel.h"
-#import "HWVersionModel.h"
-#import <MJExtension.h>
-#import "HaveNewVersionView.h"
-#import "connectDeviceManager.h"
-#import "downloadManager.h"
-#import "uploadFileManager.h"
-#import "cloudPhoneExtraFileListModel.h"
-#import "AppDelegate.h"
-#import "cachesFileManager.h"
-#import "extraMediaEventModel.h"
-#import "USBInsertPopView.h"
-#import "commandSendCheckModel.h"
-
-@implementation PlayerViewController (otherDelegate)
-
-
-#pragma mark 需要强制重启
-- (void)updateForceStartFun{
-    
-    
-    NSString* curSn = ksharedAppDelegate.DeviceThirdIdMod.data.changeSn;
-    
-    NSMutableDictionary *paraDict = [NSMutableDictionary dictionary];
-    [paraDict setValue:curSn forKey:@"sn"];
-    [paraDict setValue:[NSNumber numberWithBool:YES] forKey:@"isForceStart"];
-    
-    [[netWorkManager shareInstance] CommonPostCallBackCode:updateForceStart Parameters:paraDict success:^(id  _Nonnull responseObject) {
-        
-      SuperModel *model = [[SuperModel alloc] initWithDictionary:responseObject error:nil];
-
-       if (model.status == 0) {
-          
-       }
-       else
-       {
-           
-       }
-
-    } failure:^(NSError * _Nonnull error) {
-       HLog(@"%@", error);
-    }];
-}
-
-
-
-#pragma mark 保存截图到相册
-- (void)screenShotToPhoneFun
-{
-    [[webSocketManager shareInstance] screenshotInCloudPhoneFun];
-    
-//    CIImage *processedImage = saveCIImage;
-//    CIContext *context = [CIContext contextWithOptions:nil];
-//    CGImageRef cgiimage = [context createCGImage:processedImage fromRect:processedImage.extent];
-//    UIImage *image = [UIImage imageWithCGImage:cgiimage];
-//    CGImageRelease(cgiimage);
-//    
-//    if(!image){
-//        self->needScreenShotType = YES;
-//        return;
-//    }
-//    
-//    [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
-//         //写入图片到相册
-//         PHAssetChangeRequest *req = [PHAssetChangeRequest creationRequestForAssetFromImage:image];
-//            
-//     } completionHandler:^(BOOL success, NSError * _Nullable error) {
-//         //NSLog(@"success = %d, error = %@", success, error);
-//         if (success) {
-//             HLog(@"已将截图图片保存至相册");
-//             
-//             mainBlock(^{
-//                 [[iToast makeText:@""] show];
-//             });
-//             
-//         } else {
-//             self->needScreenShotType = YES;
-//             HLog(@"未能将截图图片保存至相册");
-//         }
-//     }];
-}
-
-- (void)saveLastImageFun
-{
-    if(!saveCIImage){
-        return;
-    }
-    
-    //UIImage *image = [UIImage imageWithCIImage:saveCIImage];
-    
-    CIImage *processedImage = saveCIImage;
-    CIContext *context = [CIContext contextWithOptions:nil];
-    CGImageRef cgiimage = [context createCGImage:processedImage fromRect:processedImage.extent];
-    UIImage *image = [UIImage imageWithCGImage:cgiimage];
-    CGImageRelease(cgiimage);
-    
-    if(image){   //执行返回最后一帧
-        NSString *filePath = kSHPath_cloudPhone_last_image;
-        NSString *folderPath = [kSHPath_cloudPhone_last_image stringByDeletingLastPathComponent];
-        [[NSFileManager defaultManager] removeItemAtPath:folderPath error:nil];
-        [cachesFileManager getCreateFilePath:folderPath];
-        NSData*imageData = UIImagePNGRepresentation(image);
-        
-        BOOL ret = [imageData writeToFile:filePath atomically:NO];
-        
-        if (ret) {
-        }
-    }
-}
-
-- (void)readLastImageFun
-{
-    NSString *filePath = kSHPath_cloudPhone_last_image;
-    UIImage *image = [UIImage imageWithContentsOfFile:filePath];
-    if(image && !saveCIImage){
-        [mPlayerView.showImageView setImage:image];
-    }
-}
-
-#pragma mark 重置云机编码
-- (void)reSetResolutionFactorFun
-{
-    if([webSocketManager shareInstance].isDiDChangePhoneSizeType){
-        CGFloat W = ksharedAppDelegate.couldPhone_W_PHONE;
-        CGFloat H = ksharedAppDelegate.couldPhone_H_PHONE;
-        
-        CGFloat maxH = H > W ? H : W;
-        
-        NSString *dataStr =  [RCCommandHelp commandResolutionFactorWithHeight:maxH];
-        [self.liveStreamManager rc_sendJsonData:[dataStr UTF8String]];
-        
-        [webSocketManager shareInstance].isDiDChangePhoneSizeType = NO;
-    }
-}
-
-@end

+ 0 - 136
创维盒子/双子星云手机/CloudPlayer/PlayerViewController.h

@@ -1,136 +0,0 @@
-//
-//  PlayerViewController.h
-// GBOX
-//
-//  Created by APPLE on 2019/6/13.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "BaseViewController.h"
-#import "PlayerView.h"
-#import <RCCloudPhoneSDK/RCAudioPlayer.h>
-#import <RCCloudPhoneSDK/RCCommandChannel.h>
-#import "PlayerControlButTipView.h"
-#import "Const.h"
-#import "playerShowSecretkeyView.h"
-#import "uploadFileDataModel.h"
-#import <RCCloudPhoneSDK/RCAudioPlayer.h>
-#import <RCCloudPhoneSDK/RCRecordManager.h>
-//#import <RCCloudPhoneSDK/RCCommandChannel.h>
-#import <RCCloudPhoneSDK/RCLiveSteamManager.h>
-#import "imageVersionRenewTipView.h"
-#import "photosBackupsTaskModel.h"
-#import "AFNetworkReachabilityManager.h"
-#import "couldPhoneFileListModel.h"
-#import "cloudPhoneCommonModel.h"
-#import "ComontAlretViewController.h"
-#import "addLogObject.h"
-#import "ComontAlretType2ViewController.h"
-#import "customDownloadManager.h"
-#import "boxDownloadFileManager.h"
-#import "errorAlertTool.h"
-#import "DFPlayer.h"
-
-
-@class PlayerControlView;
-
-
-@interface PlayerViewController : BaseViewController
-{
-    PlayerControlView *controlView;
-    /**
-     * @brief 标记是否有返回上一级
-     */
-    BOOL haveBack;
-    
-    PlayerView *mPlayerView;
-    NSLock  *connectLock;
-    CIImage *saveCIImage;    //保存流,取最后一张图片
-    BOOL savelastImageFirst;//客户报 多次启动看到的 保存的最后一帧图没有变
-    
-    RCMAACPlayer *aacPlayer;
-    
-    UIView *wattingView;
-    
-    //下载nas相关
-    customDownloadOperation* curDownloadmodel;
-    
-    BOOL needScreenShotType;/*标记需要做一次截屏*/
-}
-
-@property(copy,nonatomic)NSString * _Nullable internetVideoPort;
-@property(copy,nonatomic)NSString * _Nullable ip;
-@property(copy,nonatomic)NSString * _Nullable deviceId;
-@property(nonatomic,assign)BOOL canControl;/*是否可以控制设备*/
-
-@property(strong,nonatomic)PlayerControlButTipView * _Nullable PlayerControlButTipV;
-/**
-* @brief vpnStatus 1:开启    0:关闭
-*/
-@property (nonatomic, assign) NSInteger vpnStatus;
-
-/**
-* @brief internetHttp websocket指令通道连接
-*/
-@property (nonatomic, copy) NSString * _Nullable internetHttp;
-
-@property (nonatomic, strong) RCLiveSteamManager * _Nullable liveStreamManager;
-
-/**是否延迟发送打开app指令*/
-@property (nonatomic, assign) BOOL               delayPostOpenAppOrder;
-
-/**
- * @brief 编码类型是否支持h265
- */
-@property(nonatomic, assign) BOOL isSupportH265Type;
-
-/**页面跳转-需不需要回收资源*/
-@property (nonatomic, assign) BOOL               isNeedRecyclResource;
-@property (nonatomic, assign) BOOL               didRecyclResource;
-/**音视频是否连接成功*/
-@property (nonatomic, assign) BOOL               isConnectSuccess;
-
-/**0:初始状态  1:切换云手机超分  2:token失效超分*/
-@property (nonatomic, assign) NSInteger         rbdNotification;
-
-//第一次链接设备 要发送指令信息 实现单点登录
-@property (nonatomic, assign)BOOL didSendfristMsg;
-
-@property (nonatomic, assign) BOOL isPwdVCShow;//当前是否有密码页面
-//第一次链接设备 要发送指令信息 实现单点登录
-@property (nonatomic, assign)BOOL isLoginAgainType;
-
-//主动断开链接  后台之类的
-@property (nonatomic, assign)BOOL needToDissconnectType;
-
-
-@property(nonatomic,assign) BOOL isCodeSuspendAudioType;//手动暂停播放音乐
-
-
--(void)showNewIndicator;
--(void)removeNewIndicator;
-- (void)toStopRecoder;
-- (void)toStopAudioRecoder;
-- (void)removeNSNotification;
-- (void)addNSNotification;
-- (void)initData;
-- (BOOL)initVideoServer;
-- (void)connectVideoServer;
-- (NSArray *)getAllIvar:(id)object;
-
-- (void)tryAgain;
-- (void)requestIFrame;
-- (void)disconnectVideoServer;
-- (void)send_data:(NSString *)dataStr;
-
-
-
-#pragma mark - 设置是否可以播放声音和动画
--(void)setShowImgAndVoiceTypeFun:(bool)isCan;
-
-#pragma mark - 显示秘钥 后续忘记密码要
--(void)showSecretkeyFun;
-
-- (void)recyclResource;
-@end

File diff suppressed because it is too large
+ 0 - 2391
创维盒子/双子星云手机/CloudPlayer/PlayerViewController.mm


+ 0 - 154
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/BYWebSocket.h

@@ -1,154 +0,0 @@
-//
-//   Copyright 2012 Square Inc.
-//
-//   Licensed under the Apache License, Version 2.0 (the "License");
-//   you may not use this file except in compliance with the License.
-//   You may obtain a copy of the License at
-//
-//       http://www.apache.org/licenses/LICENSE-2.0
-//
-//   Unless required by applicable law or agreed to in writing, software
-//   distributed under the License is distributed on an "AS IS" BASIS,
-//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//   See the License for the specific language governing permissions and
-//   limitations under the License.
-//
-
-#import <Foundation/Foundation.h>
-#import <Security/SecCertificate.h>
-
-typedef NS_ENUM(NSInteger, BYReadyState) {
-    SR_CONNECTING   = 0,
-    SR_OPEN         = 1,
-    SR_CLOSING      = 2,
-    SR_CLOSED       = 3,
-};
-
-typedef enum BYStatusCode : NSInteger {
-    // 0–999: Reserved and not used.
-    SRStatusCodeNormal = 1000,
-    SRStatusCodeGoingAway = 1001,
-    SRStatusCodeProtocolError = 1002,
-    SRStatusCodeUnhandledType = 1003,
-    // 1004 reserved.
-    SRStatusNoStatusReceived = 1005,
-    SRStatusCodeAbnormal = 1006,
-    SRStatusCodeInvalidUTF8 = 1007,
-    SRStatusCodePolicyViolated = 1008,
-    SRStatusCodeMessageTooBig = 1009,
-    SRStatusCodeMissingExtension = 1010,
-    SRStatusCodeInternalError = 1011,
-    SRStatusCodeServiceRestart = 1012,
-    SRStatusCodeTryAgainLater = 1013,
-    // 1014: Reserved for future use by the WebSocket standard.
-    SRStatusCodeTLSHandshake = 1015,
-    // 1016–1999: Reserved for future use by the WebSocket standard.
-    // 2000–2999: Reserved for use by WebSocket extensions.
-    // 3000–3999: Available for use by libraries and frameworks. May not be used by applications. Available for registration at the IANA via first-come, first-serve.
-    // 4000–4999: Available for use by applications.
-} BYStatusCode;
-
-@class BYWebSocket;
-
-extern NSString *const BYWebSocketErrorDomain;
-extern NSString *const BYHTTPResponseErrorKey;
-
-#pragma mark - SRWebSocketDelegate
-
-@protocol SRWebSocketDelegate;
-
-#pragma mark - SRWebSocket
-
-@interface BYWebSocket : NSObject <NSStreamDelegate>
-
-@property (nonatomic, weak) id <SRWebSocketDelegate> delegate;
-
-@property (nonatomic, readonly) BYReadyState readyState;
-@property (nonatomic, readonly, retain) NSURL *url;
-
-
-@property (nonatomic, readonly) CFHTTPMessageRef receivedHTTPHeaders;
-
-// Optional array of cookies (NSHTTPCookie objects) to apply to the connections
-@property (nonatomic, readwrite) NSArray * requestCookies;
-
-// This returns the negotiated protocol.
-// It will be nil until after the handshake completes.
-@property (nonatomic, readonly, copy) NSString *protocol;
-
-// Protocols should be an array of strings that turn into Sec-WebSocket-Protocol.
-- (id)initWithURLRequest:(NSURLRequest *)request protocols:(NSArray *)protocols allowsUntrustedSSLCertificates:(BOOL)allowsUntrustedSSLCertificates;
-- (id)initWithURLRequest:(NSURLRequest *)request protocols:(NSArray *)protocols;
-- (id)initWithURLRequest:(NSURLRequest *)request;
-
-// Some helper constructors.
-- (id)initWithURL:(NSURL *)url protocols:(NSArray *)protocols allowsUntrustedSSLCertificates:(BOOL)allowsUntrustedSSLCertificates;
-- (id)initWithURL:(NSURL *)url protocols:(NSArray *)protocols;
-- (id)initWithURL:(NSURL *)url;
-
-// Delegate queue will be dispatch_main_queue by default.
-// You cannot set both OperationQueue and dispatch_queue.
-- (void)setDelegateOperationQueue:(NSOperationQueue*) queue;
-- (void)setDelegateDispatchQueue:(dispatch_queue_t) queue;
-
-// By default, it will schedule itself on +[NSRunLoop SR_networkRunLoop] using defaultModes.
-- (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode;
-- (void)unscheduleFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode;
-
-// SRWebSockets are intended for one-time-use only.  Open should be called once and only once.
-- (void)open;
-
-- (void)close;
-- (void)closeWithCode:(NSInteger)code reason:(NSString *)reason;
-
-// Send a UTF8 String or Data.
-- (void)send:(id)data;
-
-// Send Data (can be nil) in a ping message.
-- (void)sendPing:(NSData *)data;
-
-@end
-
-#pragma mark - SRWebSocketDelegate
-
-@protocol SRWebSocketDelegate <NSObject>
-
-// message will either be an NSString if the server is using text
-// or NSData if the server is using binary.
-- (void)webSocket:(BYWebSocket *)webSocket didReceiveMessage:(id)message;
-
-@optional
-
-- (void)webSocketDidOpen:(BYWebSocket *)webSocket;
-- (void)webSocket:(BYWebSocket *)webSocket didFailWithError:(NSError *)error;
-- (void)webSocket:(BYWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean;
-- (void)webSocket:(BYWebSocket *)webSocket didReceivePong:(NSData *)pongPayload;
-
-// Return YES to convert messages sent as Text to an NSString. Return NO to skip NSData -> NSString conversion for Text messages. Defaults to YES.
-- (BOOL)webSocketShouldConvertTextFrameToString:(BYWebSocket *)webSocket;
-
-@end
-
-#pragma mark - NSURLRequest (SRCertificateAdditions)
-
-@interface NSURLRequest (SRCertificateAdditions)
-
-@property (nonatomic, retain, readonly) NSArray *SR_SSLPinnedCertificates;
-
-@end
-
-#pragma mark - NSMutableURLRequest (SRCertificateAdditions)
-
-@interface NSMutableURLRequest (SRCertificateAdditions)
-
-@property (nonatomic, retain) NSArray *SR_SSLPinnedCertificates;
-
-@end
-
-#pragma mark - NSRunLoop (SRWebSocket)
-
-@interface NSRunLoop (SRWebSocket)
-
-+ (NSRunLoop *)SR_networkRunLoop;
-
-@end

+ 0 - 23
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAacToPcmDecoder.h

@@ -1,23 +0,0 @@
-//
-//  AudioRecoderMamager.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2019/12/25.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-
-@interface RCAacToPcmDecoder : NSObject
-
-@property (nonatomic, assign) BOOL isLowIphone6S;
-
-- (NSData *)decodeAudioFrame:(NSData *)frame;
-
-@end
-
-NS_ASSUME_NONNULL_END
-

+ 0 - 14
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAudioPlayer.h

@@ -1,14 +0,0 @@
-//
-//  RCAudioPlayer.h
-//  RCLiveDemo
-//
-//  Created by My Apple  on 2021/11/8.
-//
-
-#ifndef RCAudioPlayer_h
-#define RCAudioPlayer_h
-
-#import "RCPCMPlayer.h"
-#import "RCMAACPlayer.h"
-
-#endif /* RCAudioPlayer_h */

+ 0 - 31
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAudioRecoderMamager.h

@@ -1,31 +0,0 @@
-//
-//  AudioRecoderMamager.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2019/12/25.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@protocol AudioRecoderMamagerDelegate <NSObject>
-
-- (void)audioOutPutData:(void *)audioData dataLenth:(NSInteger)lenth;
-
-@end
-
-@interface RCAudioRecoderMamager : NSObject
-
-@property (nonatomic, weak) id<AudioRecoderMamagerDelegate> delegate;
-
-@property (nonatomic, assign, readonly) BOOL isRecoding;
-
-- (void)startRecording;
-
-- (void)stopRecording;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 21
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCloudPhoneSDK.h

@@ -1,21 +0,0 @@
-//
-//  RCCloudPhoneSDK.h
-//  RCCloudPhoneSDK
-//
-//  Created by My Apple  on 2021/11/15.
-//
-
-#import <Foundation/Foundation.h>
-
-//! Project version number for RCCloudPhoneSDK.
-FOUNDATION_EXPORT double RCCloudPhoneSDKVersionNumber;
-
-//! Project version string for RCCloudPhoneSDK.
-FOUNDATION_EXPORT const unsigned char RCCloudPhoneSDKVersionString[];
-
-// In this header, you should import all the public headers of your framework using statements like #import <RCCloudPhoneSDK/PublicHeader.h>
-
-#import <RCCloudPhoneSDK/RCAudioPlayer.h>
-#import <RCCloudPhoneSDK/RCRecordManager.h>
-#import <RCCloudPhoneSDK/RCCommandChannel.h>
-#import <RCCloudPhoneSDK/RCLiveSteamManager.h>

+ 0 - 13
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCommandChannel.h

@@ -1,13 +0,0 @@
-//
-//  RCCommandChannel.h
-//  RCLiveDemo
-//
-//  Created by My Apple  on 2021/11/8.
-//
-
-#ifndef RCCommandChannel_h
-#define RCCommandChannel_h
-
-#import "RCCommandChannelManager.h"
-
-#endif /* RCCommandChannel_h */

+ 0 - 29
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCommandChannelManager.h

@@ -1,29 +0,0 @@
-//
-//  RCCommandChannelManager.h
-//  VclustersGemini
-//
-//  Created by My Apple  on 2021/11/1.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import "RCSocketManagerForCloudPhone.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface RCCommandChannelManager : NSObject
-
-- (void)rc_openURL:(NSString *)urlString
-           connected:(RCSocketCloudPhoneDidConnectBlock)connect
-           receive:(RCSocketCloudPhoneDidReceiveBlock)receive
-           failure:(RCSocketCloudPhoneDidFailBlock)failure;
-
-- (void)rc_sendData:(id)data;
-
-- (void)rc_close;
-
-- (RCSocketCloudPhoneStatus)rc_socketStatus;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 17
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCH264HWDecoder.h

@@ -1,17 +0,0 @@
-//
-//  H264HWDecoder.h
-//
-
-#import <Foundation/Foundation.h>
-
-@interface RCH264HWDecoder : NSObject
-/**
- * @brief 直接传入源数据以及数据大小即可   版本1.2.5
- *
- */
-- (void *)decodeH264Frame:(uint8_t *)frame withSize:(uint32_t)frameSize;
-
-- (void)resetH264DecoderWithFrame;
-- (void)selfDealloc;
-
-@end

+ 0 - 22
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCH265HWDecoder.h

@@ -1,22 +0,0 @@
-//
-//  H265HWDecoder.h
-//  VclustersGemini
-//
-//  Created by xd h on 2021/3/17.
-//  Copyright © 2021 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface RCH265HWDecoder : NSObject
-
-- (void *)decodeH265Frame:(uint8_t *)frame withSize:(uint32_t)frameSize;
-
-- (void)resetH265DecoderWithFrame;
-- (void)selfDealloc;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 15
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCHWDecode.h

@@ -1,15 +0,0 @@
-//
-//  RCHWDecode.h
-//  RCLiveDemo
-//
-//  Created by My Apple  on 2021/11/8.
-//
-
-#ifndef RCHWDecode_h
-#define RCHWDecode_h
-
-#import "RCAacToPcmDecoder.h"
-#import "RCH264HWDecoder.h"
-#import "RCH265HWDecoder.h"
-
-#endif /* RCHWDecode_h */

+ 0 - 165
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCLiveSteamManager.h

@@ -1,165 +0,0 @@
-//
-//  RCLiveSteamManager.h
-//  RCLiveDemo
-//
-//  Created by My Apple  on 2021/11/11.
-//
-
-#import <Foundation/Foundation.h>
-#include <CoreVideo/CVPixelBuffer.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-typedef enum EventState {
-    EventStateUnKnown = -1L,
-    EventStateLandscape = 0L,
-    EventStateVerticalScreen,
-    EventStateTurnOnAudioThrough,
-    EventStateTurnOffAudioThrough,
-    EventStateTurnOnVideoThrough,
-    EventStateTurnOffVideoThrough,
-    EventStateScreenChange,
-    EventStateTurnOnVideoFront,
-    EventStateUploadFileOnLine,
-    EventStateUploadFileOffLine,
-    EventStateTurnOnVideoDontNeedToServer,
-    EventStateTurnOnVideoFrontDontNeedToServer
-} EventState;
-
-typedef enum ConnectState {
-    ConnectStateDestroy = 0L,
-    ConnectStateConnecting,
-    ConnectStateConnected,
-    ConnectStateRendering,
-    ConnectStateClosing,
-    ConnectStateClosed,
-    ConnectStateAbnormalDisconnect,
-    ConnectStateVfailed,
-    ConnectStatePicPushing,
-    ConnectStatePicPushed,
-    ConnectStatePicPushErr,
-    ConnectStateMultiLogin,
-    ConnectStateVerifyErr,
-    ConnectStateNetRequestIFrame
-} ConnectState;
-
-typedef enum VirtualDataType {
-    VirtualDataTypeVideo = 1L,
-    VirtualDataTypeAudio,
-    VirtualDataTypePicture = 9L
-} VirtualDataType;
-
-typedef enum VirtualRecordState {
-    VirtualRecordStateTurnOnAudioThrough = 2L,
-    VirtualRecordStateTurnOffAudioThrough,
-    VirtualRecordStateTurnOnVideoThrough,
-    VirtualRecordStateTurnOffVideoThrough,
-    VirtualRecordStateAudioThroughPause,
-    VirtualRecordStateVideoThroughPause
-} VirtualRecordState;
-
-typedef enum ConnectChannelType {
-    ConnectChannelTypeUpload = 0L,
-    ConnectChannelTypeUdp = 1L,
-    ConnectChannelTypeTcp,
-    ConnectChannelTypeKcp,
-    ConnectChannelTypeUdpH265,
-    ConnectChannelTypeTcpH265,
-    ConnectChannelTypeWebsocket,
-    ConnectChannelTypeWebsocketH265
-} ConnectChannelType;
-
-typedef enum VideoDecodeType {
-    VideoDecodeTypeSdk,
-    VideoDecodeTypeNative
-} VideoDecodeType;
-
-typedef enum AudioDecodeType {
-    AudioDecodeTypeSdk,
-    AudioDecodeTypeNative
-} AudioDecodeType;
-
-typedef enum VirtualThroughModel {
-    VirtualThroughModelOnline = 1L,
-    VirtualThroughModelOffline
-} VirtualThroughModel;
-
-typedef NS_CLOSED_ENUM(NSInteger, RCCloudPhoneConnectType) {
-    RCCloudPhoneConnectType_udp = 0L,
-    RCCloudPhoneConnectType_websocket
-};
-
-typedef NS_CLOSED_ENUM(NSInteger, RCCloudPhoneVideoQuality) {
-    RCCloudPhoneVideoQuality_Default = 0L, //h264
-    RCCloudPhoneVideoQuality_High          //h265
-};
-
-typedef struct {
-    int loss_rate_ratio; //丢包率 = loss_rate_ratio / 256 * 100
-    int min_rtt;         //传输延时
-    int send_fps;        //帧率
-    int send_bytes;      //码率
-    int current_estimator_rate;   //当前带宽
-    int send_delay_ms;   //发送耗时
-    int encode_delay_ms; //编号耗时
-    int support_resolution_level;
-} NetEstimator;
-
-typedef NSInteger RCStateInt;
-
-@class RCLiveSteamManager;
-@protocol RCLiveSteamManagerDelegate <NSObject>
-
-- (void)liveStreamManagerOutPut:(RCLiveSteamManager *)manager didOutPutVideoPixelBuffer:(CVPixelBufferRef)pixelBuffer;
-- (void)liveStreamManagerOutPut:(RCLiveSteamManager *)manager didOutPutAudioData:(NSData *)pcmData;
-
-- (void)liveStreamManager:(RCLiveSteamManager *)manager connectState:(ConnectState)state;
-- (void)liveStreamManager:(RCLiveSteamManager *)manager didReceiveEvent:(EventState)event;
-- (void)liveStreamManager:(RCLiveSteamManager *)manager didReceiveMessage:(NSString *)message;
-- (void)liveStreamManager:(RCLiveSteamManager *)manager didReceiNetEstimator:(NetEstimator)estimator;
-- (void)liveStreamManager:(RCLiveSteamManager *)manager didReceiveJitterDelay:(int)jitterDelayMs;
-@end
-
-
-@interface RCLiveStreamConfigure : NSObject
-
-@property (nonatomic, strong) NSString *ipAdress;
-@property (nonatomic, assign) NSInteger port;
-@property (nonatomic, assign) RCCloudPhoneConnectType connectType;
-@property (nonatomic, assign) RCCloudPhoneVideoQuality videoQuality;
- 
-@end
-
-
-@interface RCLiveSteamManager : NSObject
-
-@property (nonatomic, weak) id <RCLiveSteamManagerDelegate> delegate;
-
-- (RCStateInt)rc_openWithConfigure:(RCLiveStreamConfigure *)configure verify:(nullable NSString *)verify;
-
-- (RCStateInt)rc_openWithIp:(nonnull NSString *)ip
-                    port:(NSInteger)port
-                connectType:(RCCloudPhoneConnectType)connectType
-            videoQuality:(RCCloudPhoneVideoQuality)videoQuality
-                     verify:(nullable NSString *)verify
-               streamAESKey:(nullable NSString *)aesKey;
-
-- (void)rc_requestIDFrame;
-
-- (void)rc_disconnect;
-
-- (void)rc_release;
-
-- (void)rc_sendTransportData:(const char *)buffer length:(int)length dataType:(VirtualDataType)type;
-
-- (void)rc_sendTransportRecordState:(VirtualRecordState)state;
-
-- (void)rc_setMediaTransportModel:(VirtualThroughModel)model;
-
-- (void)rc_sendJsonData:(const char *)data;
-
-- (void)rc_setDecodeVideoDelay:(int)delay;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 58
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCMAACPlayer.h

@@ -1,58 +0,0 @@
-//
-//  RCAACPlayer.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2020/5/23.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import <AudioToolbox/AudioToolbox.h>
-#import <AVFoundation/AVFoundation.h>
-
-#define kNumberBuffers 3
-
-@interface RCMAACPlayer : NSObject {
-//     AudioStreamBasicDescription mDataFormat;
-//     AudioQueueRef mQueue;
-//     AudioQueueBufferRef mBuffers[kNumberBuffers];
-//     BOOL isUseingAudioQueueBuffer[kNumberBuffers];
-//    
-//    UInt32 bufferByteSize; UInt32 mNumPacketsToRead;
-//    bool mIsRunning;
-//    NSCondition *mAACAudioLock;
-//    
-//    unsigned char dataNoVol[88];
-}
-
-/**
- * @brief 初始化AAC音频播放器
- *
- * @param  formatID 音频格式暂定为kAudioFormatMPEG4AAC
- *
- */
-- (instancetype)initWithAudioFormatID:(AudioFormatID)formatID;
-
-/**
- * @brief 填充音频数据
- *
- * @param  samples 音频数据
- *
- * @param length 音频数据长度
- *
- */
-- (void)playAudioData:(void *)samples length:(int)length;
-
-/**
- * @brief 开始播放
- *
- */
-- (BOOL)start;
-
-/**
-* @brief 结束播放
-*
-*/
-- (BOOL)stop;
-
-@end

+ 0 - 28
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCPCMPlayer.h

@@ -1,28 +0,0 @@
-//
-//  RCPCMPlayer.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2020/5/23.
-//  Copyright © 2020 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <AudioToolbox/AudioToolbox.h>
-#import <AVFoundation/AVFoundation.h>
-
-#define QUEUE_BUFFER_SIZE 4   //队列缓冲个数
-//#define AUDIO_BUFFER_SIZE 2048 //数据区大小
-#define MAX_BUFFER_SIZE 80000 //
- 
-
- 
-@interface RCPCMPlayer : NSObject <AVAudioPlayerDelegate>
-
-
--(BOOL)start;
--(void)play:(NSData *)data;
--(void)stop;
- 
-- (id)initWithAudioBufferSize:(NSInteger)audioBufferSize mSampleRate:(NSInteger)mSampleRate mChannelsPerFrame:(NSInteger)mChannelsPerFrame;
- 
-@end

+ 0 - 16
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCRecordManager.h

@@ -1,16 +0,0 @@
-//
-//  RCRecordManager.h
-//  RCLiveDemo
-//
-//  Created by My Apple  on 2021/11/8.
-//
-
-#ifndef RCRecordManager_h
-#define RCRecordManager_h
-
-#import "RCVideoRecoderManager.h"
-#import "RCAudioRecoderMamager.h"
-#import "RCSaveToH264FileTool.h"
-#import "RCSaveToH265FileTool.h"
-
-#endif /* RCRecordManager_h */

+ 0 - 40
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSaveToH264FileTool.h

@@ -1,40 +0,0 @@
-//
-//  ESCSaveToH264FileTool.h
-//  ESCCameraH264Demo
-//
-//  Created by xiang on 2018/6/20.
-//  Copyright © 2018年 xiang. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <VideoToolbox/VideoToolbox.h>
-
-@interface RCSaveToH264FileTool : NSObject
-
-@property (nonatomic, copy)NSString* filePath;
-
-/**
- yuv文件转h264压缩文件
- */
-//+ (void)yuvToH264EncoderWithVideoWidth:(NSInteger)width
-//                                height:(NSInteger)height
-//                           yuvFilePath:(NSString *)yuvFilePath
-//                          h264FilePath:(NSString *)h264FilePath
-//                             frameRate:(NSInteger)frameRate;
-
-/**
- yuv流转h264压缩文件
- */
-- (void)setupVideoWidth:(NSInteger)width
-                 height:(NSInteger)height
-              frameRate:(NSInteger)frameRate
-           h264FilePath:(NSString *)h264FilePath;
-
-/**
- 填充需要压缩的yuv流数据
- */
-- (void)encoderYUVData:(NSData *)yuvData;
-
-- (void)stopRecord;
-
-@end

+ 0 - 43
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSaveToH265FileTool.h

@@ -1,43 +0,0 @@
-//
-//  ESCSaveToH265FileTool.h
-//  ESCCameraH264Demo
-//
-//  Created by xiang on 5/31/19.
-//  Copyright © 2019 xiang. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface RCSaveToH265FileTool : NSObject
-
-@property (nonatomic, copy) NSString* filePath;
-
-/**
- yuv文件转h265压缩文件
- */
-//+ (void)yuvToH265EncoderWithVideoWidth:(NSInteger)width
-//                                height:(NSInteger)height
-//                           yuvFilePath:(NSString *)yuvFilePath
-//                          h265FilePath:(NSString *)h265FilePath
-//                             frameRate:(NSInteger)frameRate;
-
-/**
- yuv流转h265压缩文件
- */
-- (void)setupVideoWidth:(NSInteger)width
-                 height:(NSInteger)height
-              frameRate:(NSInteger)frameRate
-           h265FilePath:(NSString *)h265FilePath;
-
-/**
- 填充需要压缩的yuv流数据
- */
-- (void)encoderYUVData:(NSData *)yuvData;
-
-- (void)stopRecord;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 129
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSocketManagerForCloudPhone.h

@@ -1,129 +0,0 @@
-/*
- *
- */
-
-#import <Foundation/Foundation.h>
-
-/**
- *
- *
- *  socket状态
- */
-typedef NS_ENUM(NSInteger, RCSocketCloudPhoneStatus){
-    RCSocketCloudPhoneStatusConnected,// 已连接
-    RCSocketCloudPhoneStatusFailed,// 失败
-    RCSocketCloudPhoneStatusClosedByServer,// 系统关闭
-    RCSocketCloudPhoneStatusClosedByUser,// 用户关闭
-    RCSocketCloudPhoneStatusReceived// 接收消息
-};
-
-/**
- *
- *
- *  消息类型
- */
-typedef NS_ENUM(NSInteger,FLSocketCloudPhoneReceiveType){
-    RCSocketCloudPhoneReceiveTypeForMessage,
-    RCSocketCloudPhoneReceiveTypeForPong
-};
-/**
- *
- *
- *  连接成功回调
- */
-typedef void(^RCSocketCloudPhoneDidConnectBlock)(void);
-/**
- *
- *
- *  失败回调
- */
-typedef void(^RCSocketCloudPhoneDidFailBlock)(NSError *error);
-/**
- *
- *
- *  关闭回调
- */
-typedef void(^RCSocketCloudPhoneDidCloseBlock)(NSInteger code,NSString *reason,BOOL wasClean);
-/**
- *
- *
- *  消息接收回调
- */
-typedef void(^RCSocketCloudPhoneDidReceiveBlock)(id message ,FLSocketCloudPhoneReceiveType type);
-
-@interface RCSocketManagerForCloudPhone : NSObject
-/**
- *
- *
- *  连接回调
- */
-@property (nonatomic, copy) RCSocketCloudPhoneDidConnectBlock connect;
-/**
- *
- *
- *  接收消息回调
- */
-@property (nonatomic, copy) RCSocketCloudPhoneDidReceiveBlock receive;
-/**
- *
- *
- *  失败回调
- */
-@property (nonatomic, copy) RCSocketCloudPhoneDidFailBlock failure;
-/**
- *
- *
- *  关闭回调
- */
-@property (nonatomic, copy) RCSocketCloudPhoneDidCloseBlock close;
-/**
- *
- *
- *  当前的socket状态
- */
-@property (nonatomic, assign, readonly) RCSocketCloudPhoneStatus fl_socketStatus;
-/**
- *  @author Clarence
- *
- *  重连次数,默认5次
- */
-@property (nonatomic, assign) NSUInteger reconnectCount;
-
-/**
- *
- *
- *  单例调用
- */
-//+ (instancetype)shareManager;
-/**
- *
- *
- *  开启socket
- *
- *  @param urlStr  服务器地址
- *  @param connect 连接成功回调
- *  @param receive 接收消息回调
- *  @param failure 失败回调
- */
-- (void)fl_open:(NSString *)urlStr
-        connect:(RCSocketCloudPhoneDidConnectBlock)connect
-        receive:(RCSocketCloudPhoneDidReceiveBlock)receive
-        failure:(RCSocketCloudPhoneDidFailBlock)failure;
-/**
- *
- *
- *  关闭socket
- *
- *  @param close 关闭回调
- */
-- (void)fl_close:(RCSocketCloudPhoneDidCloseBlock)close;
-/**
- *
- *
- *  发送消息,NSString 或者 NSData
- *
- *  @param data Send a UTF8 String or Data.
- */
-- (void)fl_send:(id)data;
-
-@end

+ 0 - 34
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCVideoRecoderManager.h

@@ -1,34 +0,0 @@
-//
-//  RecoderManager.h
-//  VclustersGemini
-//
-//  Created by APPLE on 2019/12/23.
-//  Copyright © 2019 APPLE. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <VideoToolbox/VideoToolbox.h>
-#import <AVFoundation/AVFoundation.h>
-NS_ASSUME_NONNULL_BEGIN
-
-@protocol RecoderManagerDelegate <NSObject>
-
-- (void)videoOutPutH264Data:(void *)h264Data dataLenth:(NSInteger)lenth;
-
-@end
-
-@interface RCVideoRecoderManager : NSObject
-
-@property (nonatomic, assign, readonly) BOOL isRecoding;
-
-@property (nonatomic, weak) id<RecoderManagerDelegate> delegate;
-
-- (void)startRecording;
-
-- (void)stopRecording;
-
-- (id)initWithAVCaptureDevicePosition:(AVCaptureDevicePosition)position;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 63
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCYUVEncoder.h

@@ -1,63 +0,0 @@
-//
-//  ESCVideoToolboxEncodeH264DataTool.h
-//  ESCCameraH264Demo
-//
-//  Created by xiang on 2019/4/28.
-//  Copyright © 2019 xiang. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-typedef NS_CLOSED_ENUM(NSInteger, VideoCodecType) {
-    VideoCodecType_H264 = 0L,
-    VideoCodecType_H265
-};
-
-@class RCYUVEncoder;
-
-@protocol ESCVideoToolboxYUVEncoderToolDelegate<NSObject>
-
-/**
- 压缩后的h264数据流
- */
-- (void)encoder:(RCYUVEncoder *)encoder encodeData:(void *)encodeData dataLenth:(NSInteger)lenth;
-
-/**
- 压缩结束
- */
-- (void)encoderEnd:(RCYUVEncoder *)encoder;
-
-@end
-
-@interface RCYUVEncoder : NSObject
-
-
-@property(nonatomic,weak)id delegate;
-
-//sps和pps数据是否包含在关键帧前面,默认为YES
-@property(nonatomic,assign)BOOL spsAndPpsIsIncludedInIframe;
-
-- (instancetype)initWithCodecType:(VideoCodecType)codecType;
-/**
- yuv流转h264流
- */
-- (void)setupVideoWidth:(NSInteger)width
-                 height:(NSInteger)height
-              frameRate:(NSInteger)frameRate
-               delegate:(id<ESCVideoToolboxYUVEncoderToolDelegate>)delegate;
-
-/**
- 填充需要压缩的yuv流数据
- */
-- (void)encoderYUVData:(NSData *)yuvData;
-
-/**
- yuv流数据接收完毕
- */
--(void)endYUVDataStream;
-
-@end
-
-NS_ASSUME_NONNULL_END

BIN
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Info.plist


+ 0 - 127
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/LICENSE

@@ -1,127 +0,0 @@
-
-  LICENSE ISSUES
-  ==============
-
-  The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
-  the OpenSSL License and the original SSLeay license apply to the toolkit.
-  See below for the actual license texts. Actually both licenses are BSD-style
-  Open Source licenses. In case of any license issues related to OpenSSL
-  please contact openssl-core@openssl.org.
-
-  OpenSSL License
-  ---------------
-
-/* ====================================================================
- * Copyright (c) 1998-2008 The OpenSSL Project.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- *
- * 3. All advertising materials mentioning features or use of this
- *    software must display the following acknowledgment:
- *    "This product includes software developed by the OpenSSL Project
- *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
- *
- * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
- *    endorse or promote products derived from this software without
- *    prior written permission. For written permission, please contact
- *    openssl-core@openssl.org.
- *
- * 5. Products derived from this software may not be called "OpenSSL"
- *    nor may "OpenSSL" appear in their names without prior written
- *    permission of the OpenSSL Project.
- *
- * 6. Redistributions of any form whatsoever must retain the following
- *    acknowledgment:
- *    "This product includes software developed by the OpenSSL Project
- *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
- *
- * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- * ====================================================================
- *
- * This product includes cryptographic software written by Eric Young
- * (eay@cryptsoft.com).  This product includes software written by Tim
- * Hudson (tjh@cryptsoft.com).
- *
- */
-
- Original SSLeay License
- -----------------------
-
-/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
- * All rights reserved.
- *
- * This package is an SSL implementation written
- * by Eric Young (eay@cryptsoft.com).
- * The implementation was written so as to conform with Netscapes SSL.
- * 
- * This library is free for commercial and non-commercial use as long as
- * the following conditions are aheared to.  The following conditions
- * apply to all code found in this distribution, be it the RC4, RSA,
- * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
- * included with this distribution is covered by the same copyright terms
- * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- * 
- * Copyright remains Eric Young's, and as such any Copyright notices in
- * the code are not to be removed.
- * If this package is used in a product, Eric Young should be given attribution
- * as the author of the parts of the library used.
- * This can be in the form of a textual message at program startup or
- * in documentation (online or textual) provided with the package.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *    "This product includes cryptographic software written by
- *     Eric Young (eay@cryptsoft.com)"
- *    The word 'cryptographic' can be left out if the rouines from the library
- *    being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from 
- *    the apps directory (application code) you must include an acknowledgement:
- *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- * 
- * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * 
- * The licence and distribution terms for any publically available version or
- * derivative of this code cannot be changed.  i.e. this code cannot simply be
- * copied and put under another distribution licence
- * [including the GNU Public Licence.]
- */
-

+ 0 - 6
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Modules/module.modulemap

@@ -1,6 +0,0 @@
-framework module RCCloudPhoneSDK {
-  umbrella header "RCCloudPhoneSDK.h"
-
-  export *
-  module * { export * }
-}

BIN
创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/RCCloudPhoneSDK


+ 0 - 16
创维盒子/双子星云手机/NAS/view/errorAlertTool.m

@@ -72,7 +72,6 @@ static errorAlertTool *shareInstance = nil;
     [cachesFileManager writeLogsWithMsg:[[NSString alloc] initWithFormat:@"showNetErrorAlertFun %ld",type]];
     
     if(linkFailAlretVC
-       //||[connectDeviceManager shareInstance].isReInitType//瑞云重新init 耗时2-7s 他们说的
        ||(ksharedAppDelegate.isWebSockLinkOKAginType && type == 2) //重连上了但是延时消息来了
        ||linkFailAlretType2VC){
         return;
@@ -211,27 +210,12 @@ static errorAlertTool *shareInstance = nil;
     linkFailAlretVC = nil;
     linkFailAlretType2VC = nil;
     
-//    if([[connectDeviceManager shareInstance] curConnectDeviceState] <= 3)
-//    {
-//        //瑞云发起重连
-//        NSString *snStr = ksharedAppDelegate.DeviceThirdIdMod.data.changeSn;
-//        if(snStr){
-//            //_checkThridConnectNum = 1;
-//            [[connectDeviceManager shareInstance] getThridMsgBySN:snStr needReconnect:YES didNetEnd:^(NSInteger didSuc) {
-//            }];
-//        }
-//        return;
-//    }
     
     if(!ksharedAppDelegate.isWebSockLinkOKAginType){
         [[webRtcManager shareManager] beginToLinkWebRtcFun];
         return;
     }
     
-    //[[connectDeviceManager shareInstance] tryReconnectFun];
-//    [self showNewIndicator];
-//    reConnectAccount = 0;
-//    [self tryAgain];
     
 }
 

+ 0 - 18
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+backupsFile.h

@@ -1,18 +0,0 @@
-//
-//  webSocketManager+backupsFile.h
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface webSocketManager (backupsFile)
-- (void)beginGotoBackupsFileFunBy:(photosBackupsTaskModel *)photosBackupsTaskMod;
-- (void)applyBackupsFileServiceResponseFun:(NSDictionary *)dataDict;
-- (void)backupsFileFunServiceResponseFun:(NSDictionary *)dataDict;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 649
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+backupsFile.m

@@ -1,649 +0,0 @@
-//
-//  webSocketManager+backupsFile.m
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager+backupsFile.h"
-
-@implementation webSocketManager (backupsFile)
-/*****************备份相关**********************************/
-- (void)beginGotoBackupsFileFunBy:(photosBackupsTaskModel *)photosBackupsTaskMod
-{
-    //HLog(@"%@",uploadFileDataMod);
-    
-    self.curPhotosBackupsTaskMod = photosBackupsTaskMod;
-    
-    if(![photosBackupsTaskMod isKindOfClass:[photosBackupsTaskModel class]]){
-        HLog(@"备份的文件类型不对");
-        return;
-    }
-    
-    [self ApplyBackupsFileFun];
-}
-
-#pragma mark 申请备份文件
-- (void)ApplyBackupsFileFun
-{
-    //if(!self.taskUid){
-        self.backupsTaskUid = [iTools getTaskUidStr];
-        
-        if([self.backupsTaskUid isEqualToString:self.downloadFileTaskUid]
-           ||[self.backupsTaskUid isEqualToString:self.taskUid]
-           ||[self.backupsTaskUid isEqualToString:self.downloadThumbnailTaskUid])
-        {//重新生成taskUid
-            [self ApplyBackupsFileFun];
-            return;
-        }
-    
-        self.backupsFileName = self.curPhotosBackupsTaskMod.filename;
-        if(self.curPhotosBackupsTaskMod.curUploadFileType == uploadFileTypeVideo){
-           
-        }
-        else{
-            self.backupsAllFileData = self.curPhotosBackupsTaskMod.imageData;
-        }
-        
-        self.backupsIndexOfUploadFlie = 0;
-        
-    //}
-    
-    NSString * backupsDefaultPath =  self.curPhotosBackupsTaskMod.backupsPath;
-    
-    if(!backupsDefaultPath || backupsDefaultPath.length ==0){
-         backupsDefaultPath = [HWDataManager getStringWithKey:stringKeyAddSn(Const_photo_backups_default_path)];
-        
-        if(!backupsDefaultPath || backupsDefaultPath.length == 0){
-            backupsDefaultPath = Const_default_backups_path;
-            [HWDataManager setStringWithKey:stringKeyAddSn(Const_photo_backups_default_path) value:backupsDefaultPath];
-        }
-        
-        NSString *lastStr= [backupsDefaultPath substringFromIndex:backupsDefaultPath.length-1];
-        if(![lastStr isEqualToString:@"/"]){
-            backupsDefaultPath = [[NSString alloc] initWithFormat:@"%@/",backupsDefaultPath];
-        }
-    }
-    
-    
-   
-    NSString * commandStr = [RCCommandHelp applyForBackupsFileBy:self.backupsTaskUid withFileName:self.backupsFileName withSavePath:backupsDefaultPath];
-    
-    //NSString * commandStr = [RCCommandHelp applyForUploadFileBy:self.taskUid  filePath:self.fileName];
-    
-    [self.commandChannelManager rc_sendData:commandStr];
-}
-
-- (void)applyBackupsFileServiceResponseFun:(NSDictionary *)dataDict
-{
-    if([dataDict isKindOfClass:[NSDictionary class]]){
-        if ([[dataDict allKeys] containsObject:@"data"]) {
-            NSDictionary *data = dataDict[@"data"];
-
-            if ([[data allKeys] containsObject:@"status"]) {
-                NSString  *status = [data objectForKey:@"status"];
-                if(![status isKindOfClass:[NSString class]]){
-                    status = [[NSString  alloc] initWithFormat:@"%@",status];
-                }
-                
-               if ([status isEqualToString:@"0"]){
-                    if ([[data allKeys] containsObject:@"taskUid"]) {
-                        NSString *taskUid = data[@"taskUid"];
-                        if(![status isKindOfClass:[NSString class]]){
-                            taskUid = [[NSString  alloc] initWithFormat:@"%@",taskUid];
-                        }
-                        
-                        if(taskUid &&  [taskUid isEqualToString:self.backupsTaskUid]){
-                            
-                            NSNumber * fileLengthNum = @0;
-                            if ([[data allKeys] containsObject:@"fileLength"])
-                            {
-                                fileLengthNum = data[@"fileLength"];
-                            }
-                            
-                            self.curBackupsPostion = [fileLengthNum longValue];
-                            
-                            if(self.curPhotosBackupsTaskMod.curUploadFileType == uploadFileTypeImage){
-                                
-                                if([fileLengthNum integerValue] == self.curPhotosBackupsTaskMod.totalBytes){
-                                    self.curPhotosBackupsTaskMod.didBackupsOneFileType = YES;
-                                    HLog(@"文件已备份");
-                                    [[backupsFileManager shareInstance] backupsFileDoneFun];
-                                    
-                                }
-                                else if ([fileLengthNum integerValue] > self.curPhotosBackupsTaskMod.totalBytes){
-                                    self.curPhotosBackupsTaskMod.didBackupsOneFileType = YES;
-                                    HLog(@"云机文件数据大于本地");
-                                    [[backupsFileManager shareInstance] getDataWrongToChangeFailFun];
-                                    
-                                }
-                                else{
-                                    self.curPhotosBackupsTaskMod.didBackupsOneFileType = NO;
-                                    [self beginGotoBackupsImageFun:fileLengthNum];
-                                }
-                                
-                            }
-                            else{
-                                [self backupsBeginGotoUploadVidelFun:fileLengthNum];
-                            }
-                        }
-                    }
-                   
-                }
-                else if([status isEqualToString:@"3"])
-                {
-                    NSString *tipStr = NSLocalizedString(@"disk_not_find_tip",nil);
-                    [[backupsFileManager shareInstance] changeBackupsFileStateToFailWith:tipStr];
-                    mainBlock(^{
-                        [[iToast makeText:tipStr] show];
-                    });
-                    
-                }
-                else if ([status isEqualToString:@"5"]) {
-                    NSString *tipStr = NSLocalizedString(@"disk_space_not_tip",nil);
-                    [[backupsFileManager shareInstance] changeBackupsFileStateToFailWith:tipStr];
-                    mainBlock(^{
-                        [[iToast makeText:tipStr] show];
-                    });
-                }
-                else //if([status isEqualToString:@"1"])
-                {
-                    [[backupsFileManager shareInstance] getDataWrongToChangeFailFun];
-                }
-            }
-        }
-        else{
-            //异常
-            [self tryAgainApplyBackupsFun];
-        }
-    }
-    else{
-        //异常
-        [self tryAgainApplyBackupsFun];
-    }
-}
-
-#pragma mark 遇到异常时 重新上传
-- (void)tryAgainApplyBackupsFun
-{
-    self.backupsTaskUid = nil;
-    [self ApplyBackupsFileFun];
-}
-
-#pragma mark 图片上传
--(void)beginGotoBackupsImageFun:(NSNumber*)fileLengthNum{
-    
-    self.curPhotosBackupsTaskMod.didUploadBytes = [fileLengthNum longLongValue];
-    self.curPhotosBackupsTaskMod.preDidUploadBytes = self.curPhotosBackupsTaskMod.didUploadBytes;
-    
-    self.backupsCutFileDataArr = [self backupsFileCutPartsBy:self.backupsAllFileData withDidUpLoadSize:[fileLengthNum integerValue]];
-    
-    if(!self.backupsCutFileDataArr || self.backupsCutFileDataArr.count == 0){
-        [[backupsFileManager shareInstance] getDataWrongToChangeFailFun];
-        return;
-    }
-    
-    //答复的taskUid 跟申请的一致 开发发送内容
-    [self backupsFileFun];
-}
-
-#pragma mark 视频上传
-//每次从文件重新切一片 传一片
--(void)backupsBeginGotoUploadVidelFun:(NSNumber*)fileLengthNum{
-    
-    self.curPhotosBackupsTaskMod.didUploadBytes = [fileLengthNum longLongValue];
-    self.curPhotosBackupsTaskMod.preDidUploadBytes = self.curPhotosBackupsTaskMod.didUploadBytes;
-    
-    NSData *data = [self backupsCutVideoFileFunAtIndex:fileLengthNum.longLongValue];
-    HLog(@"data leng:%ld",[data length]);
-
-    if([data length] == 0){
-        [self clearBackupsFileDataFun];
-        [[backupsFileManager shareInstance] getDataWrongToChangeFailFun];
-        HLog(@"hxd fail 备份任务异常终止")
-        return;
-    }
-    
-    self.backupsAllFileData  = data;
-    self.backupsCutFileDataArr  = [self backupsFileCutPartsBy:self.backupsAllFileData withDidUpLoadSize:0];
-    self.backupsIndexOfUploadFlie  = 0;
-    
-    //return;
-
-//    NSString*videoPathStr = [cachesFileManager getFilePathWithName:self.curUploadFileDataMod.filename type:uploadFileTypeVideo];
-//    self.AllFileData = [NSData dataWithContentsOfFile:videoPathStr];
-
-   // self.cutFileDataArr = [self fileCutPartsBy:self.AllFileData withDidUpLoadSize:[fileLengthNum integerValue]];
-    
-    if(!self.backupsCutFileDataArr || self.backupsCutFileDataArr.count == 0){
-        [self clearBackupsFileDataFun];
-        [[backupsFileManager shareInstance] getDataWrongToChangeFailFun];
-        
-        HLog(@"hxd fail 备份任务异常终止")
-        return;
-    }
-    
-    //答复的taskUid 跟申请的一致 开发发送内容
-    [self backupsFileFun];
-}
-
-#pragma mark 分段读视频文件
--(NSData*)backupsCutVideoFileFunAtIndex:(NSUInteger)dataIndex{
-    NSString *filePath = [cachesFileManager getFilePathWithName:self.curPhotosBackupsTaskMod.filename type:uploadFileTypeVideo]; // 文件路径
-    
-    NSFileManager *manager0 = [NSFileManager defaultManager];
-    if(![manager0 fileExistsAtPath:filePath]) {
-     
-        return [NSData new];
-    }
-    
-    NSFileHandle *fileHandle = [NSFileHandle fileHandleForReadingAtPath:filePath]; // 创建文件句柄
-      
-    // 设置分段读取的大小,这里以每次读取1KB为例
-    //const NSUInteger chunkSize = 50 * 1024 *1024;
-    const NSUInteger chunkSize = cutVideoPieceSzie;//5 * 1024 *1024;
-    NSMutableData *data = [NSMutableData data];
-    
-    if (fileHandle) {
-       
-        long long endOfFile = [fileHandle seekToEndOfFile];
-        
-        if(dataIndex == 0 || self.curPhotosBackupsTaskMod.totalBytes == 0){
-            self.curPhotosBackupsTaskMod.totalBytes = endOfFile;
-        }
-        
-        if (endOfFile >=  chunkSize) {
-            
-            // 读取文件的分段数据到某个位置
-            [fileHandle seekToFileOffset:dataIndex];
-            
-            // 读取文件的分段数据
-            NSData* chunk = [fileHandle readDataOfLength:chunkSize];
-            if (chunk) {
-                [data appendData:chunk];
-            }
-        }
-        else{
-            // 读取文件的分段数据到某个位置
-            [fileHandle seekToFileOffset:dataIndex];
-            
-            [data appendData:[fileHandle readDataToEndOfFile]];
-        }
-        
-        // 在这里可以对文件内容进行处理
-        // ...
-        
-        // 关闭文件句柄
-        [fileHandle closeFile];
-    }
-    
-    return data;
-}
-
-
-- (void)backupsFileFunServiceResponseFun:(NSDictionary *)dataDict
-{
-    //"type":"backUpFileRandomRet","data":{"progress":"0\/1","filePath":"/sdcard/DCIM/IMG_0889.JPG","fileLenth":258066,"status":"0","msg":"success"}}
-    
-    if([dataDict isKindOfClass:[NSDictionary class]]){
-        if ([[dataDict allKeys] containsObject:@"data"]) {
-            NSDictionary *data = dataDict[@"data"];
-
-            if ([[data allKeys] containsObject:@"status"]) {
-                NSString  *status = [data objectForKey:@"status"];
-                if(![status isKindOfClass:[NSString class]]){
-                    status = [[NSString  alloc] initWithFormat:@"%@",status];
-                }
-                
-                if ([status isEqualToString:@"1"]) {
-                    [[backupsFileManager shareInstance] getDataWrongToChangeFailFun];
-                    
-                }else if ([status isEqualToString:@"2"]){
-                    NSString *tipStr = NSLocalizedString(@"disk_not_find_tip",nil);
-                    [[backupsFileManager shareInstance] changeBackupsFileStateToFailWith:tipStr];
-                    mainBlock(^{
-                        [[iToast makeText:tipStr] show];
-                    });
-                }
-                else if ([status isEqualToString:@"5"]){
-                    NSString *tipStr = NSLocalizedString(@"disk_space_not_tip",nil);
-                    [[backupsFileManager shareInstance] changeBackupsFileStateToFailWith:tipStr];
-                    mainBlock(^{
-                        [[iToast makeText:tipStr] show];
-                    });
-                }
-                else if ([status isEqualToString:@"0"]){
-                    
-                    NSNumber * fileLengthNum = @0;
-                    if ([[data allKeys] containsObject:@"fileLenth"])
-                    {
-                        fileLengthNum = data[@"fileLenth"];
-                    }
-                    
-                    if (fileLengthNum && fileLengthNum.longLongValue >= self.curPhotosBackupsTaskMod.totalBytes)
-                    {//
-                        HLog(@"备份完成");
-                        NSString *commandStr = [RCCommandHelp uploadOrBackupsDoneBy:self.backupsTaskUid withFileName:self.backupsFileName withType:NO];
-                        [self.commandChannelManager rc_sendData:commandStr];
-                        
-                        [[backupsFileManager shareInstance] backupsFileDoneFun];
-                    }
-                    else{
-                        //异常处理
-                        if([fileLengthNum longValue] - self.curBackupsPostion > EachPieceSzie){
-                            HLog(@"发现上传后返回的长度 出错");
-                            
-                            if(self.curPhotosBackupsTaskMod.curUploadFileType == uploadFileTypeVideo)
-                            {//清除已经取出来的数据  后面会根据fileLengthNum 重新拿数据
-                                [self.backupsCutFileDataArr removeAllObjects];
-                            }
-                            else{
-                                NSInteger curIndex = [fileLengthNum longValue] % EachPieceSzie;
-                                //把当前的上传位置指定已经上传的前一片,后续++
-                                self.backupsIndexOfUploadFlie = curIndex -1;
-                            }
-                        }
-                        
-                        self.curBackupsPostion = [fileLengthNum longValue];
-                        [self handleBackupsingFun:fileLengthNum];
-                    }
-                    
-                }
-            }
-        }
-        else{
-            //异常
-            [self tryAgainApplyBackupsFun];
-        }
-    }
-    else{
-        //异常
-        [self tryAgainApplyBackupsFun];
-    }
-    
-}
-
-#pragma mark 处理上传过程
-- (void)handleBackupsingFun:(NSNumber*)fileLengthNum
-{
-    //异常处理
-    if(fileLengthNum.longValue < 0)
-    {
-        return;
-    }
-
-    
-    BOOL isCanUseCellular = [HWDataManager getBoolWithKey:stringKeyAddSn(Const_file_Transfe_canUse_Cellular_all)];
-
-    if(!isCanUseCellular){//不允许流量备份
-        //
-        if([AFNetworkReachabilityManager sharedManager].networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWWAN){
-            self.curPhotosBackupsTaskMod.isBackupsSuspendType = backupsSuspendByOther;
-            self.curPhotosBackupsTaskMod.curBackupsState = backupsStateSuspend;
-            [[backupsFileManager shareInstance] changeBackupsFileStateFun];
-            return;
-        }
-
-    }
-    
-    BOOL haveOpenBackups = [HWDataManager getBoolWithKey:stringKeyAddSn(Const_photo_backups_state)];
-    if(!haveOpenBackups){
-        self.curPhotosBackupsTaskMod.isBackupsSuspendType = backupsSuspendByOther;
-        self.curPhotosBackupsTaskMod.curBackupsState = backupsStateSuspend;
-        [[backupsFileManager shareInstance] changeBackupsFileStateFun];
-        return;
-    }
-    
-    
-    if(self.curPhotosBackupsTaskMod.isBackupsSuspendType != backupsSuspendNone){
-        [self clearBackupsFileDataFun];
-        return;
-    }
-    
-    self.curPhotosBackupsTaskMod.didUploadBytes = [fileLengthNum longLongValue];
-    [[backupsFileManager shareInstance] changeBackupsFileStateFun];
-    
-    if(self.backupsCutFileDataArr.count >0
-        && self.backupsIndexOfUploadFlie < (self.backupsCutFileDataArr.count -1)) {
-        
-        self.backupsIndexOfUploadFlie ++;
-        [self backupsFileFun];
-    }
-    else if(self.curPhotosBackupsTaskMod.curUploadFileType == uploadFileTypeVideo && fileLengthNum && fileLengthNum.longLongValue < self.curPhotosBackupsTaskMod.totalBytes){
-        //视频做了二次切割 不一定上传完了
-        HLog(@"视频上传传完一片 再来一片");
-        [self backupsBeginGotoUploadVidelFun:fileLengthNum];
-    }
-    else{
-        HLog(@"备份完成");
-        NSString *commandStr = [RCCommandHelp uploadOrBackupsDoneBy:self.backupsTaskUid withFileName:self.backupsFileName withType:NO];
-        [self.commandChannelManager rc_sendData:commandStr];
-        
-        [[backupsFileManager shareInstance] backupsFileDoneFun];
-    }
-}
-
--(void)clearBackupsFileDataFun{
-    //上传数据清空
-    self.backupsTaskUid = nil;
-    self.backupsFileName = nil;
-    self.backupsAllFileData = nil;
-    self.backupsIndexOfUploadFlie = 0;
-    self.backupsCutFileDataArr = nil;
-    self.curPhotosBackupsTaskMod = nil;
-    
-}
-
-- (Byte)getBCC:(NSData *)data {
-    Byte bcc = 0;
-    unsigned char *bytes = (unsigned char *)[data bytes];
-    for (int i = 0; i < [data length]; i++) {
-        bcc = (Byte)(bcc ^ bytes[i]);
-    }
-    return bcc;
-}
-
-#pragma mark 文件切片
--(NSMutableArray *)backupsFileCutPartsBy:(NSData*)curData withDidUpLoadSize:(NSInteger)didLoadSize{
- 
-    NSData * data = curData;
-    
-    NSUInteger allLength = data.length;
-    
-    NSUInteger subs = EachPieceSzie;//1*1024*1024;//4096;//要切片的大小,我这里设置的是4096字节
-    //NSUInteger subs = 31*1024;//4096;//要切片的大小,内存没有暴增
-    
-    self.cutFileEachPieceSzie = subs;
-    
-    NSInteger index = 0;//起始位置
-    
-    if(didLoadSize != 0){
-        if (didLoadSize % subs != 0){
-            //出错了
-            return nil;
-        }
-        else{
-//            index = didLoadSize/subs;
-//            allLength = allLength - didLoadSize;
-            
-            self.backupsIndexOfUploadFlie = didLoadSize/subs;
-        }
-    }
-
-    NSMutableArray *dataArray =[NSMutableArray new];
-    
-    do {
-        //@autoreleasepool {
-            if (allLength>subs) {
-                
-                NSRange range =NSMakeRange(index*subs, subs);
-                
-                index++;
-                
-                //NSLog(@"%@",NSStringFromRange(range));
-                
-                [dataArray addObject:[data subdataWithRange:range]];
-                
-                allLength = allLength - subs;
-                
-            }else{
-                NSRange range = NSMakeRange(index*subs, allLength);
-                
-                //NSLog(@"%@",NSStringFromRange(range));
-                
-                [dataArray addObject:[data subdataWithRange:range]];
-                
-                allLength = 0;
-            }
-        //}
-        
-    } while (allLength>0);
-    
-    HLog(@"dataArray leng:%ld",dataArray.count);//最后得到切片的结果,数组里面是NSData对象
-
-    return dataArray;
-}
-
-// int转NSData
-- (NSData *)int2Data:(int)i{
-    Byte b0 = i & 0xff;
-    Byte b1 = i >> 8 & 0xff;
-    Byte b2 = i >> 16 & 0xff;
-    Byte b3 = i >> 24 & 0xff;
-    // 有大小端模式问题?
-    //Byte result[] = {b0, b1, b2, b3};
-    Byte result[] = {b3, b2, b1, b0};
-    return [NSData dataWithBytes:result length:sizeof(result)];
-}
-
-// long转NSData
-- (NSData *)long2Data:(long)i{
-    Byte b0 = i & 0xff;
-    Byte b1 = i >> 8 & 0xff;
-    Byte b2 = i >> 16 & 0xff;
-    Byte b3 = i >> 24 & 0xff;
-    Byte b4 = i >> 32 & 0xff;
-    Byte b5 = i >> 40 & 0xff;
-    Byte b6 = i >> 48 & 0xff;
-    Byte b7 = i >> 56 & 0xff;
-    
-    // 有大小端模式问题?
-    //Byte result[] = {b0, b1, b2, b3};
-    //Byte result[] = {b3, b2, b1, b0};
-    Byte result[] = {b7, b6, b5,b4,b3, b2, b1, b0};
-    return [NSData dataWithBytes:result length:sizeof(result)];
-}
-
-// short转NSData
-- (NSData *)short2Data:(short)i{
-    Byte b0 = i & 0xff;
-    Byte b1 = i >> 8 & 0xff;
-    // 有大小端模式问题?
-    //Byte result[] = {b0, b1, b2, b3};
-    Byte result[] = { b1, b0};
-    return [NSData dataWithBytes:result length:sizeof(result)];
-}
-
-#pragma mark 可以发送文件了
-/*
-文件数据字节流byte[]
-  格式1:下载日志文件压缩包
-       |head|msgType|taskId|    datalen            | curNum | totalNum|   data   |bcc校验|end|
-  长度:  1      1      6 (curNum+totalNum+data)        4         4      datalen- 8   1     1
-       0x68  0x0e                                                        0x16
-    bcc校验从第1位 也就是从msgType起 到 校验位前(不包含校验位)数据作bcc校验
- */
-- (void)backupsFileFun
-{
-    //HLog(@"上传文件%ld/%ld",self.indexOfUploadFlie +1,self.cutFileDataArr.count);
-    
-    if(self.backupsCutFileDataArr.count <= self.backupsIndexOfUploadFlie)
-    {
-        return;
-    }
-    
-    //data
-    NSData *curData = self.backupsCutFileDataArr[self.backupsIndexOfUploadFlie];
-    //HLog(@"headData:%@",curData);
-    
-    //head
-    unsigned char headNum = 104;
-    NSData *headData = [NSMutableData dataWithBytes:&headNum length:sizeof(headNum)];
-    //HLog(@"headData:%@",headData);
-    
-    //msgType
-    //unsigned char msgType = 12;
-    //unsigned char msgType = 15;
-    //unsigned char msgType = 16;
-    unsigned char msgType = 21;
-    NSData *msgTypeData = [NSMutableData dataWithBytes:&msgType length:sizeof(msgType)];
-    //HLog(@"msgTypeData:%@",msgTypeData);
-    
-    //taskId
-    NSData *taskIdData = [self.backupsTaskUid dataUsingEncoding:NSUTF8StringEncoding];
-    //HLog(@"taskIdData:%@",taskIdData);
-    
-    //datalen
-    //int datalenNum = int([curData length] +(4+4));
-    int datalenNum = [curData length] + (4+4);
-    //NSData *datalenData = [NSData dataWithBytes:&datalenNum length:sizeof(datalenNum)];
-    NSData *datalenData = [self int2Data:datalenNum];
-    //HLog(@"datalenData %@",datalenData);
-    
-    
-    //curNum
-    int curNum = (int)self.backupsIndexOfUploadFlie ;//+ 1;
-    //NSData *curNumData = [NSData dataWithBytes:&curNum length:sizeof(curNum)];
-    NSData * curNumData = [self int2Data:curNum];
-    //HLog(@"curNumData:%@",curNumData);
-    
-    //totalNum
-    int totalNum = (int)self.backupsCutFileDataArr.count;
-    //NSData *totalNumData = [NSData dataWithBytes:&totalNum length:sizeof(totalNum)];
-    NSData * totalNumData = [self int2Data:totalNum];
-    //HLog(@"totalNumData:%@",totalNumData);
-    
-    long Postion = self.curBackupsPostion;
-    NSData * PostionData = [self long2Data:Postion];
-    HLog(@"PostionData:%@",PostionData);
-
-    NSMutableData *checkBCCData = [NSMutableData new];
-    [checkBCCData appendData:msgTypeData];
-    [checkBCCData appendData:taskIdData];
-    [checkBCCData appendData:datalenData];
-    [checkBCCData appendData:curNumData];
-    [checkBCCData appendData:totalNumData];
-    [checkBCCData appendData:PostionData];
-    [checkBCCData appendData:curData];
-    
-    long length = [curData length];
-    //HLog(@"curData length %d",length);
-    
-    Byte bccCheck = [self getBCC:checkBCCData];
-    //HLog(@"bcc 000 %d",bccCheck);
-    
-    //bcc校验
-    char bccNum = (char)bccCheck;
-    NSData *bccData = [NSMutableData dataWithBytes:&bccNum length:sizeof(bccNum)];
-    //HLog(@"%@",bccData);
-    
-    //end
-    unsigned char endNum = 22;
-    NSData *endData = [NSMutableData dataWithBytes:&endNum length:sizeof(endNum)];
-    //HLog(@"%@",endData);
-    
-    NSMutableData *sendData = [NSMutableData new];
-    [sendData appendData:headData];
-    [sendData appendData:checkBCCData];
-    [sendData appendData:bccData];
-    [sendData appendData:endData];
-    
-    //HLog(@"sendData length %ld",[sendData length]);
-    [self.commandChannelManager rc_sendData:sendData];
-    //HLog(@"文件上传sendData %@",sendData);
-}
-
-
-
-@end
-

+ 0 - 16
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+baseDownload.h

@@ -1,16 +0,0 @@
-//
-//  webSocketManager+baseDownload.h
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface webSocketManager (baseDownload)
-- (void)handleDownloadResponseFunBy:(id)message;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 116
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+baseDownload.m

@@ -1,116 +0,0 @@
-//
-//  webSocketManager+baseDownload.m
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager+baseDownload.h"
-
-@implementation webSocketManager (baseDownload)
-
-// NSData转int
-- (int)data2Int:(NSData *)data{
-    Byte *byte = (Byte *)[data bytes];
-    // 有大小端模式问题?
-     return (byte[0] << 24) + (byte[1] << 16) + (byte[2] << 8) + (byte[3]);
-}
-
-
-- (void)handleDownloadResponseFunBy:(id)message
-{
-    NSData *curData = (NSData *)message;
-    
-//    if(curData.length < 20){
-//        return;
-//    }
-    
-    //head
-    NSData *headData = [curData subdataWithRange:NSMakeRange(0, 1)];
-    char head = 0;//104;
-    [headData getBytes:&head length:sizeof(head)];
-    //HLog(@"head: %d",head);
-    
-    //msgType  0x11(17)
-    NSData *msgTypeData = [curData subdataWithRange:NSMakeRange(1, 1)];
-    char msgType = 0;
-    [msgTypeData getBytes:&msgType length:sizeof(msgType)];
-    HLog(@"msgType: %d",msgType);
-    
-    //taskId  6位字符串
-    NSData *taskIdData = [curData subdataWithRange:NSMakeRange(2, 6)];
-    NSString* taskIdStr = [[NSString alloc] initWithData:taskIdData encoding:NSUTF8StringEncoding];;
-    HLog(@"taskId: %@",taskIdStr);
-    
-    if(curData.length <= 15){
-        HLog(@"消息长度不对不处理");
-        return;
-    }
-    
-    //datalen
-    NSData *datalenData = [curData subdataWithRange:NSMakeRange(8, 4)];
-    int datalen = [self data2Int:datalenData];
-    //HLog(@"datalen: %d",datalen);
-
-    //curNum
-    NSData *curNumData = [curData subdataWithRange:NSMakeRange(12, 4)];
-    int curNum = [self data2Int:curNumData];;
-    //HLog(@"curNum: %d",curNum);
-    
-    //totalNum
-    NSData *totalNumData = [curData subdataWithRange:NSMakeRange(16, 4)];
-    int totalNum = [self data2Int:totalNumData];
-    //HLog(@"totalNum: %d",totalNum);
-    
-    BOOL isDownloadDone = curNum == totalNum ? YES : NO;
-    
-    HLog(@"taskUid:%@ curNum:%d totalNum: %d datalen:%d isDownloadDone:%d",taskIdStr,curNum,totalNum,datalen -8,isDownloadDone);
-    
-    if(curData.length <= 23){
-        //data 的位置 装 成功或者失败
-        NSData *failTypeData = [curData subdataWithRange:NSMakeRange(20, 1)];
-        //0xcc (204)失败 0xcd (205)文件不存在 0xdd (221)完成  0xbb 187 完成
-        __block Byte failType;
-        [failTypeData getBytes:&failType length:sizeof(failType)];
-        
-        if(taskIdStr && [taskIdStr isEqualToString:self.downloadFileTaskUid]){
-            
-            if(failType == 0xcc || failType == 0xcf){
-                [[downloadManager shareInstance] DownloadFileFailOneFileFun];
-            }
-            else if(failType == 0xcd ){
-                [[downloadManager shareInstance] suspendDownloadFileFun:YES withModel:nil];
-                NSString *tipStr = NSLocalizedString(@"disk_not_find_tip",nil);
-                mainBlock(^{
-                    [[iToast makeText:tipStr] show];
-                });
-            }
-            else if(failType == 0xdd || failType == 0xbb){
-                [self downloadFileFunServiceResponseFun:[NSData new] with:YES];
-            }
-            else{
-                HLog(@"下载数据未知错误");
-                [[downloadManager shareInstance] DownloadFileFailOneFileFun];
-            }
-        }
-        
-        return;
-    }
-    
-    if(curData.length <= (20 + datalen - 8)){
-        HLog(@"下载数据解析出错了");
-        return;
-    }
-    
-    NSData *fileData = [curData subdataWithRange:NSMakeRange(20, datalen-8)];
-
-    if([taskIdStr isEqualToString:self.downloadFileTaskUid]){
-        [self downloadFileFunServiceResponseFun:fileData with:NO];
-    }
-    else if ([taskIdStr isEqualToString:self.downloadThumbnailTaskUid]){
-        [self downloadThumbnailFileFunServiceResponseFun:fileData with:YES];
-    }
-}
-
-
-@end

+ 0 - 21
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadFile.h

@@ -1,21 +0,0 @@
-//
-//  webSocketManager+downloadFile.h
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface webSocketManager (downloadFile)<UIDocumentPickerDelegate>
-- (void)begindownloadFileFunBy:(couldPhoneFileModel *)couldPhoneFileMod;
-- (void)downloadFileFunServiceResponseFun:(NSData *)fileData with:(BOOL)isDownloadDone;
-- (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentsAtURLs:(NSArray<NSURL *> *)urls;
-
-#pragma mark 处理保存操作
-- (void)saveDownDoneFileToPhoneFunBy:(NSString*)filePath withKey:(NSString *)key;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 351
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadFile.m

@@ -1,351 +0,0 @@
-//
-//  webSocketManager+downloadFile.m
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager+downloadFile.h"
-
-#import "cachesFileManager.h"
-#import "downloadManager.h"
-
-@implementation webSocketManager (downloadFile)
-- (void)begindownloadFileFunBy:(couldPhoneFileModel *)couldPhoneFileMod
-{
-    self.curDownloadFileModel = couldPhoneFileMod;
-    
-    if(!self.curDownloadFileModel
-       || ![self.curDownloadFileModel isKindOfClass:[couldPhoneFileModel class]]){
-        return;
-    }
-    
-    [self ApplyDownloadFileFun];
-}
-
-#pragma mark 申请下载缩略图
-- (void)ApplyDownloadFileFun
-{
-    
-    self.downloadFileTaskUid = [iTools getTaskUidStr];
- 
-    if([self.downloadFileTaskUid isEqualToString:self.backupsTaskUid]
-       ||[self.downloadFileTaskUid isEqualToString:self.taskUid]
-       ||[self.downloadFileTaskUid isEqualToString:self.downloadThumbnailTaskUid])
-    {//重新生成taskUid
-        [self ApplyDownloadFileFun];
-        return;
-    }
-    
-    NSString *fileName = [self.curDownloadFileModel getFileNameFun];
-    NSString*pathStr = [cachesFileManager getFilePathWithName:fileName type:DownLoadFileType];
-    long didDownloadBytes = 0;
-    
-    NSFileManager *manager0 = [NSFileManager defaultManager];
-    if([manager0 fileExistsAtPath:pathStr]) {
-        NSFileHandle *fileHandle = [NSFileHandle fileHandleForReadingAtPath:pathStr]; // 创建文件句柄
-        if (fileHandle) {
-            didDownloadBytes = [fileHandle seekToEndOfFile];
-            // 关闭文件句柄
-            [fileHandle closeFile];
-        }
-    }
-    
-    NSString * commandStr = [RCCommandHelp applyForDownloadFileBy:self.downloadFileTaskUid withFilePath:self.curDownloadFileModel.path withPosition:didDownloadBytes];
-    [self.commandChannelManager rc_sendData:commandStr];
-}
-
-- (void)downloadFileFunServiceResponseFun:(NSData *)fileData  with:(BOOL)isDownloadDone
-{
-    if(isDownloadDone){
-        [self handleDownloadDoneFun];
-        return;
-    }
-    
-    NSString *fileName = [self.curDownloadFileModel getFileNameFun];
-        
-    NSString*pathStr = [cachesFileManager getFilePathWithName:fileName type:DownLoadFileType];
-    
-    NSFileManager *manager0 = [NSFileManager defaultManager];
-    long long endOfFile = 0;
-    
-    if(![manager0 fileExistsAtPath:pathStr]) {
-        [cachesFileManager getFileNameWithContent:fileData fileName:fileName type:DownLoadFileType];
-    }
-    else{
-        NSFileHandle *fileHandle = [NSFileHandle fileHandleForWritingAtPath:pathStr]; // 创建文件句柄
-        if (fileHandle) {
-            endOfFile = [fileHandle seekToEndOfFile];
-            if (endOfFile >=  0) {
-                if(endOfFile == self.curDownloadFileModel.didDownloadBytes){
-                    [fileHandle writeData:fileData];
-                }
-            }
-            
-            endOfFile = [fileHandle seekToEndOfFile];
-            // 关闭文件句柄
-            [fileHandle closeFile];
-        }
-    }
-    
-    long didDownloadBytes = fileData.length;
-    if(endOfFile > 0){
-        didDownloadBytes = endOfFile;
-    }
-    
-    self.curDownloadFileModel.didDownloadBytes = didDownloadBytes;
-   
-
-    
-//    if(isDownloadDone || endOfFile == self.curDownloadFileModel.length){
-//        [self handleDownloadDoneFun];
-//    }
-//    else
-    {//获取下一片
-        
-        [[downloadManager shareInstance] DownloadFileChangeingOneFileFun];
-        
-        if([downloadManager shareInstance].isSuspendType){
-            return;
-        }
-        
-        BOOL isCanUseCellular = [HWDataManager getBoolWithKey:stringKeyAddSn(Const_file_Transfe_canUse_Cellular_all)];
-        if(!isCanUseCellular){//不允许流量上传
-            //
-            if([AFNetworkReachabilityManager sharedManager].networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWWAN){
-                [[downloadManager shareInstance] suspendDownloadFileFun:YES withModel:nil];
-                mainBlock(^{
-                    [[NSNotificationCenter defaultCenter] postNotificationName:downloadFileSuspendAllNotification object:nil];
-                    [[iToast makeText:NSLocalizedString(@"File_Transfer_By_Cellular_tip",nil)] show];
-                });
-                return;
-            }
-        }
-        
-        NSString * commandStr = [RCCommandHelp applyForDownloadFileBy:self.downloadFileTaskUid withFilePath:self.curDownloadFileModel.path withPosition:didDownloadBytes];
-        [self.commandChannelManager rc_sendData:commandStr];
-    }
-    
-}
-
-- (void)handleDownloadDoneFun
-{
-    if(self.nasFullPath && self.nasFullPath.length >0){
-        HLog(@"前面一个保存流程没走完")
-        return;
-    }
-    
-    NSString *fileName = [self.curDownloadFileModel getFileNameFun];
-    NSString*pathStr = [cachesFileManager getFilePathWithName:fileName type:DownLoadFileType];
-    
-    if([self.curDownloadFileModel.fileType containsString:@"jpg"]){
-       
-        if([iTools canSaveFileToAlbumByPhoto:YES withName:fileName]){
-            UIImage *image = [UIImage imageWithContentsOfFile:pathStr];
-            
-            if(image){
-                [self loadImageFinished:image];
-            }
-            else{
-                [cachesFileManager removeItemAtPath:fileName type:DownLoadFileType error:nil];
-                [[downloadManager shareInstance] DownloadFileFailOneFileFun];
-            }
-        }
-        else{
-            [self loadOtherDataFinished];
-        }
-        
-    }
-    else if([self.curDownloadFileModel.fileType isEqualToString:@"video"]){
-        if([iTools canSaveFileToAlbumByPhoto:NO withName:fileName]){
-            [self loadVideoFinished];
-        }
-        else{
-            [self loadOtherDataFinished];
-        }
-        
-    }
-    else
-    {
-        [self loadOtherDataFinished];
-    }
-}
-
-
-- (void)loadImageFinished:(UIImage *)image
-{
-    [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
-         //写入图片到相册
-         PHAssetChangeRequest *req = [PHAssetChangeRequest creationRequestForAssetFromImage:image];
-            
-     } completionHandler:^(BOOL success, NSError * _Nullable error) {
-         //NSLog(@"success = %d, error = %@", success, error);
-         if (success) {
-             HLog(@"已将图片保存至相册");
-             //NSString *fileName = [self.curDownloadFileModel getFileNameFun];
-             //[cachesFileManager removeItemAtPath:fileName type:DownLoadFileType error:nil];
-             
-         } else {
-             HLog(@"未能将图片保存至相册");
-//             mainBlock(^{
-//                 [[iToast makeText:NSLocalizedString(@"File_Transfer_By_Cellular_tip",nil)] show];
-//             });
-         }
-         NSString *fileName = [self.curDownloadFileModel getFileNameFun];
-         [cachesFileManager removeItemAtPath:fileName type:DownLoadFileType error:nil];
-         [[downloadManager shareInstance] DownloadFileDoneOneFileFun];
-    }];
-}
-
-- (void)loadVideoFinished
-{
-    NSString *fileName = [self.curDownloadFileModel getFileNameFun];
-    NSString*pathStr = [cachesFileManager getFilePathWithName:fileName type:DownLoadFileType];
-    
-    PHPhotoLibrary *photoLibrary = [PHPhotoLibrary sharedPhotoLibrary];
-    [photoLibrary performChanges:^{
-        [PHAssetChangeRequest creationRequestForAssetFromVideoAtFileURL:[NSURL
-    fileURLWithPath:pathStr]];
-    } completionHandler:^(BOOL success, NSError * _Nullable error) {
-        if (success) {
-            HLog(@"已将视频保存至相册");
-            //NSString *fileName = [self.curDownloadFileModel getFileNameFun];
-            //[cachesFileManager removeItemAtPath:fileName type:DownLoadFileType error:nil];
-            
-        } else {
-            HLog(@"未能将视频保存至相册");
-        }
-        
-        [cachesFileManager removeItemAtPath:fileName type:DownLoadFileType error:nil];
-        [[downloadManager shareInstance] DownloadFileDoneOneFileFun];
-    }];
-}
-
-//下载音频 文件等
-- (void)loadOtherDataFinished
-{
-    [[downloadManager shareInstance] DownloadFileDoneOneFileFun];
-    
-    NSString *fileName = [self.curDownloadFileModel getFileNameFun];
-    NSString*filePath = [cachesFileManager getFilePathWithName:fileName type:DownLoadFileType];
-    
-    [self saveDownDoneFileToPhoneFunBy:filePath withKey:self.curDownloadFileModel.path];
-}
-
-#pragma mark 处理保存操作
-- (void)saveDownDoneFileToPhoneFunBy:(NSString*)filePath withKey:(NSString *)key{
-    
-    if (self.isShowingFileDocumentPickerType) {
-        HLog(@"上一个任务保存到问题---没保存完");
-        return;
-    }
-    
-    if (![[NSFileManager defaultManager] fileExistsAtPath:filePath]){
-        HLog(@"没有找到文件:%@",filePath);
-        return;
-    }
-    
-    self.wsDownloadSaveFilePath = filePath;
-    self.wsDownloadDonwPlishPath = key;
-    
-    NSURL * fileURL = [NSURL fileURLWithPath:filePath];
-    UIDocumentPickerViewController *documentPickerVC = [[UIDocumentPickerViewController alloc] initWithURL:fileURL inMode:UIDocumentPickerModeExportToService];
-    // 设置代理
-    documentPickerVC.delegate = self;
-    // 设置模态弹出方式
-    documentPickerVC.modalPresentationStyle = UIModalPresentationFormSheet;
-    //[self.navigationController presentViewController:documentPickerVC animated:YES completion:nil];
-    [ksharedAppDelegate.window.rootViewController presentViewController:documentPickerVC animated:YES completion:nil];
-    
-    self.isShowingFileDocumentPickerType = YES;
-}
- 
-
-#pragma mark - UIDocumentPickerDelegate
-- (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentsAtURLs:(NSArray<NSURL *> *)urls {
-    // 获取授权
-    BOOL fileUrlAuthozied = [urls.firstObject startAccessingSecurityScopedResource];
-    if (fileUrlAuthozied) {
-        // 通过文件协调工具来得到新的文件地址,以此得到文件保护功能
-        NSFileCoordinator *fileCoordinator = [[NSFileCoordinator alloc] init];
-        NSError *error;
-        
-        [fileCoordinator coordinateReadingItemAtURL:urls.firstObject options:0 error:&error byAccessor:^(NSURL *newURL) {
-            // 读取文件
-            NSString *fileName = [newURL lastPathComponent];
-            NSError *error = nil;
-            //NSData *fileData = [NSData dataWithContentsOfURL:newURL options:NSDataReadingMappedIfSafe error:&error];
-            if (error) {
-                // 读取出错
-                if(self.nasFullPath){
-                    self.nasFullPath = nil;
-                    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(20 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-                        [self checkSaveNasFileAgainFun];
-                    });
-                }
-                else{
-                    self.wsDownloadSaveFilePath = nil;
-                    self.wsDownloadDonwPlishPath = nil;
-                    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(20 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-                        [self checkSaveWebsocketFileAgainFun];
-                    });
-                }
-            } else {
-                NSLog(@"222 fileName : %@", fileName);
-                if(!self.nasFullPath){
-                    // websock下载流程
-                    [[NSFileManager defaultManager] removeItemAtPath:self.wsDownloadSaveFilePath error:nil];
-                    //[cachesFileManager removeItemAtPath:fileName type:DownLoadFileType error:nil];
-                    [[downloadManager shareInstance] deleteDownloadDonePlistInfoBy:self.wsDownloadDonwPlishPath];
-                    self.wsDownloadSaveFilePath = nil;
-                    self.wsDownloadDonwPlishPath = nil;
-                    [self checkSaveWebsocketFileAgainFun];
-                }
-                else{
-                    //nas下载流程
-                    [[NSFileManager defaultManager] removeItemAtPath:self.nasFullPath error:nil];
-                    [[boxDownloadFileManager shareInstance] deleteDownloadDonePlistInfoBy:self.nasFullPath];
-                    self.nasFullPath = nil;
-                    [self checkSaveNasFileAgainFun];
-                }
-                
-            }
-            
-            self.isShowingFileDocumentPickerType = NO;
-        }];
-        [urls.firstObject stopAccessingSecurityScopedResource];
-    } else {
-        // 授权失败
-        if(self.nasFullPath){
-            self.nasFullPath = nil;
-            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(20 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-                [self checkSaveNasFileAgainFun];
-            });
-        }
-        else{
-            self.wsDownloadSaveFilePath = nil;
-            self.wsDownloadDonwPlishPath = nil;
-            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(20 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-                [self checkSaveWebsocketFileAgainFun];
-            });
-        }
-        
-        self.isShowingFileDocumentPickerType = NO;
-    }
-}
-
-#pragma mark 再次读取下载完成数据做保存操作
-- (void)checkSaveNasFileAgainFun
-{
-    [[boxDownloadFileManager shareInstance] checkDownloadDonePlistInfoFun];
-    
-    [[nasDownloadFileManager shareInstance] checkDownloadDonePlistInfoFun];
-}
-
-#pragma mark 再次读取ws下载完成数据做保存操作
-- (void)checkSaveWebsocketFileAgainFun
-{
-    [[downloadManager shareInstance] checkDownloadDonePlistInfoFun];
-}
-
-@end

+ 0 - 17
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadNasFile.h

@@ -1,17 +0,0 @@
-//
-//  webSocketManager+downloadNasFile.h
-//
-//
-//  Created by David on 2024/7/10.
-//
-
-#import "webSocketManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface webSocketManager (downloadNasFile)
-#pragma mark 下载完成
-- (void)NasDownloadTaskFinishedNoti:(customDownloadOperation *)nasDownloadOperation;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 211
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadNasFile.m

@@ -1,211 +0,0 @@
-//
-//  webSocketManager+downloadNasFile.m
-//
-//
-//  Created by David on 2024/7/10.
-//
-
-#import "webSocketManager+downloadNasFile.h"
-
-@implementation webSocketManager (downloadNasFile)
-#pragma mark 下载完成
-- (void)NasDownloadTaskFinishedNoti:(customDownloadOperation *)nasDownloadOperation
-{
-    if((self.nasFullPath && self.nasFullPath.length >0)
-       || self.isShowingFileDocumentPickerType){
-            HLog(@"上一个任务保存到问题---没保存完");
-        return;
-    }
-    
-    curDownloadmodel = nasDownloadOperation;
-    KWeakSelf
-    if (curDownloadmodel.downloadState == customDownloadStateCompleted) {
-        mainBlock(^{
-            [weakSelf handldDownloadDoneToSaveBy:self->curDownloadmodel];
-        });
-    }
-}
-
-#pragma mark 下载完后处理保持流程
-- (void)handldDownloadDoneToSaveBy:(customDownloadOperation*)model{
-    //解码
-    NSString * urlString = [model.url stringByRemovingPercentEncoding];
-    //[model.url stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
-    NSArray *nameArr= [urlString componentsSeparatedByString:@"."];
-    
-    NSString * pathStr= [customDownloadCacheManager getFullPathByOldFullPath:model.fullPath];
-    NSString * decodePathStr= [pathStr stringByRemovingPercentEncoding];
-    
-    HLog(@"downloadNasFile:%@\n%@\n%@",urlString,pathStr,[pathStr stringByRemovingPercentEncoding])
-    
-    if(![pathStr isEqualToString:decodePathStr]){
-        // 尝试移动(即重命名)文件
-        NSError *error = nil;
-        NSFileManager *fileManager = [NSFileManager defaultManager];
-        BOOL success = [fileManager moveItemAtPath:pathStr toPath:decodePathStr error:&error];
-
-        if (success) {
-            NSLog(@"文件重命名成功!");
-        } else {
-            NSLog(@"文件重命名失败: %@", error);
-        }
-        
-        pathStr = decodePathStr;
-    }
-    
-    
-    
-    HLog(@"%@,",pathStr);
-    if (nameArr.count >= 2) {
-        NSString *lastName = nameArr.lastObject;
-        
-        lastName = [lastName lowercaseString];
-        
-        if([iTools canSaveFileToAlbumByPhoto:YES withName:lastName])
-        {//可以保持到相册
-            UIImage *image = [UIImage imageWithContentsOfFile:pathStr];
-            if(image){
-                [self loadImageFinished:image with:pathStr];
-            }
-                
-        }
-        else if([iTools canSaveFileToAlbumByPhoto:NO withName:lastName]){//可以保持到相册
-            [self loadVideoFinishedBy:pathStr];
-            
-        }
-        else{//保存到文件
-            [self loadOtherDataFinishedBy:pathStr];
-        }
-    }
-}
-
-
-- (void)loadImageFinished:(UIImage *)image with:(NSString*)fullPath
-{
-    [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
-         //写入图片到相册
-         PHAssetChangeRequest *req = [PHAssetChangeRequest creationRequestForAssetFromImage:image];
-            
-     } completionHandler:^(BOOL success, NSError * _Nullable error) {
-         //NSLog(@"success = %d, error = %@", success, error);
-         if (success) {
-             HLog(@"已将图片保存至相册");
-             //
-             [[NSFileManager defaultManager] removeItemAtPath:fullPath error:nil];
-//             if(self->curYCDownloadItem){
-//                 [YCDownloadManager stopDownloadWithItem:self->curYCDownloadItem];
-//                 self->curYCDownloadItem = nil;
-//             }
-             
-             [[boxDownloadFileManager shareInstance] deleteDownloadDonePlistInfoBy:fullPath];
-             
-         } else {
-             HLog(@"未能将图片保存至相册");
-             mainBlock(^{
-                 [self loadOtherDataFinishedBy:fullPath];
-             });
-         }
-         
-    }];
-}
-
-- (void)loadVideoFinishedBy:(NSString*)fullPath
-{
-    NSString*pathStr = fullPath;
-    
-    PHPhotoLibrary *photoLibrary = [PHPhotoLibrary sharedPhotoLibrary];
-    [photoLibrary performChanges:^{
-        [PHAssetChangeRequest creationRequestForAssetFromVideoAtFileURL:[NSURL
-    fileURLWithPath:pathStr]];
-    } completionHandler:^(BOOL success, NSError * _Nullable error) {
-        if (success) {
-            HLog(@"已将视频保存至相册");
-            //
-            [[NSFileManager defaultManager] removeItemAtPath:pathStr error:nil];
-//            if(self->curYCDownloadItem){
-//                [YCDownloadManager stopDownloadWithItem:self->curYCDownloadItem];
-//                self->curYCDownloadItem = nil;
-//            }
-            
-            [[boxDownloadFileManager shareInstance] deleteDownloadDonePlistInfoBy:fullPath];
-        } else {
-            HLog(@"未能将视频保存至相册");
-            mainBlock(^{
-                [self loadOtherDataFinishedBy:fullPath];
-            });
-        }
-        
-    }];
-}
-
-
-//下载音频 文件等
-- (void)loadOtherDataFinishedBy:(NSString*)fullPath
-{
-    NSString*filePath = fullPath;
-    self.nasFullPath = fullPath;
-    
-    if (![[NSFileManager defaultManager] fileExistsAtPath:filePath]){
-        HLog(@"没有找到文件:%@",filePath);
-        return;
-    }
-    
-    
-    NSURL * fileURL = [NSURL fileURLWithPath:filePath];
-    
-    UIDocumentPickerViewController *documentPickerVC = [[UIDocumentPickerViewController alloc] initWithURL:fileURL inMode:UIDocumentPickerModeExportToService];
-    // 设置代理
-    documentPickerVC.delegate = self;
-    // 设置模态弹出方式
-    documentPickerVC.modalPresentationStyle = UIModalPresentationFormSheet;
-    //[self.navigationController presentViewController:documentPickerVC animated:YES completion:nil];
-    [ksharedAppDelegate.window.rootViewController presentViewController:documentPickerVC animated:YES completion:nil];
-    
-    self.isShowingFileDocumentPickerType = YES;
-}
- 
-//同文件 有了代理 走了 downloadFile 里面的 UIDocumentPickerDelegate
-#pragma mark - UIDocumentPickerDelegate
-//- (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentsAtURLs:(NSArray<NSURL *> *)urls {
-//    // 获取授权
-//    BOOL fileUrlAuthozied = [urls.firstObject startAccessingSecurityScopedResource];
-//    if (fileUrlAuthozied) {
-//        // 通过文件协调工具来得到新的文件地址,以此得到文件保护功能
-//        NSFileCoordinator *fileCoordinator = [[NSFileCoordinator alloc] init];
-//        NSError *error;
-//
-//        NSURL * firstUrl = urls.firstObject;
-//        [fileCoordinator coordinateReadingItemAtURL:urls.firstObject options:0 error:&error byAccessor:^(NSURL *newURL) {
-//            // 读取文件
-//            NSString *fileName = [firstUrl lastPathComponent];
-//            NSString *pathStr = [firstUrl absoluteString];
-//            NSError *error = nil;
-//            //NSData *fileData = [NSData dataWithContentsOfURL:newURL options:NSDataReadingMappedIfSafe error:&error];
-//            if (error) {
-//                // 读取出错
-//            } else {
-//                // 上传
-//                NSLog(@"111fileName : %@ -- %@ ---%@", fileName,pathStr,self.nasFullPath);
-//
-//                if(!pathStr || [pathStr isEqualToString:self.nasFullPath]){
-//                    pathStr = self.nasFullPath;
-//                }
-//
-//                //
-//                [[NSFileManager defaultManager] removeItemAtPath:pathStr error:nil];
-////                if(self->curYCDownloadItem){
-////                    [YCDownloadManager stopDownloadWithItem:self->curYCDownloadItem];
-////                    self->curYCDownloadItem = nil;
-////                }
-//
-//                [[boxDownloadFileManager shareInstance] deleteDownloadDonePlistInfoBy:pathStr];
-//
-//            }
-//        }];
-//        [urls.firstObject stopAccessingSecurityScopedResource];
-//    } else {
-//        // 授权失败
-//    }
-//}
-@end
-

+ 0 - 17
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadThumbnailImage.h

@@ -1,17 +0,0 @@
-//
-//  webSocketManager+downloadThumbnailImage.h
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface webSocketManager (downloadThumbnailImage)
-- (void)begindownloadThumbnailImageFunBy:(couldPhoneFileModel *)couldPhoneFileMod;
-- (void)downloadThumbnailFileFunServiceResponseFun:(NSData *)fileData with:(BOOL)isDownloadDone;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 95
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+downloadThumbnailImage.m

@@ -1,95 +0,0 @@
-//
-//  webSocketManager+downloadThumbnailImage.m
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager+downloadThumbnailImage.h"
-
-@implementation webSocketManager (downloadThumbnailImage)
-- (void)begindownloadThumbnailImageFunBy:(couldPhoneFileModel *)couldPhoneFileMod
-{
-    self.curDownloadThumbnailModel = couldPhoneFileMod;
-    
-    if(!self.curDownloadThumbnailModel
-       || ![self.curDownloadThumbnailModel isKindOfClass:[couldPhoneFileModel class]]){
-        return;
-    }
-    
-    [self ApplyDownloadThumbnailFun];
-}
-
-#pragma mark 申请下载缩略图
-- (void)ApplyDownloadThumbnailFun
-{
-    
-    self.downloadThumbnailTaskUid = [iTools getTaskUidStr];
- 
-    if([self.downloadThumbnailTaskUid isEqualToString:self.backupsTaskUid]
-       ||[self.downloadThumbnailTaskUid isEqualToString:self.taskUid]
-       ||[self.downloadThumbnailTaskUid isEqualToString:self.downloadFileTaskUid])
-    {//重新生成taskUid
-        [self ApplyDownloadThumbnailFun];
-        return;
-    }
-    
-    NSString *fileName = [self.curDownloadThumbnailModel getFileNameFun];
-    NSString*pathStr = [cachesFileManager getFilePathWithName:fileName type:DownLoadThumbnail];
-    long didDownloadBytes = 0;
-    
-    NSFileManager *manager0 = [NSFileManager defaultManager];
-    if([manager0 fileExistsAtPath:pathStr]) {
-        NSFileHandle *fileHandle = [NSFileHandle fileHandleForReadingAtPath:pathStr]; // 创建文件句柄
-        if (fileHandle) {
-            didDownloadBytes = [fileHandle seekToEndOfFile];
-            // 关闭文件句柄
-            [fileHandle closeFile];
-        }
-    }
-    
-    NSString * commandStr = [RCCommandHelp applyForDownloadThumbnailFileBy:self.downloadThumbnailTaskUid withFilePath:self.curDownloadThumbnailModel.path withPosition:didDownloadBytes];
-    [self.commandChannelManager rc_sendData:commandStr];
-}
-
-- (void)downloadThumbnailFileFunServiceResponseFun:(NSData *)fileData with:(BOOL)isDownloadDone
-{
-    
-    NSString *fileName = [self.curDownloadThumbnailModel getFileNameFun];
-        
-    NSString*pathStr = [cachesFileManager getFilePathWithName:fileName type:DownLoadThumbnail];
-    
-    NSFileManager *manager0 = [NSFileManager defaultManager];
-    long long endOfFile = 0;
-    
-    if(![manager0 fileExistsAtPath:pathStr]) {
-        [cachesFileManager getFileNameWithContent:fileData fileName:fileName type:DownLoadThumbnail];
-    }
-    else{
-        NSFileHandle *fileHandle = [NSFileHandle fileHandleForWritingAtPath:pathStr]; // 创建文件句柄
-        if (fileHandle) {
-            endOfFile = [fileHandle seekToEndOfFile];
-            if (endOfFile >=  0) {
-                //if(endOfFile == self.curDownloadThumbnailModel.didDownloadBytes){
-                    [fileHandle writeData:fileData];
-                //}
-            }
-            
-            endOfFile = [fileHandle seekToEndOfFile];
-            // 关闭文件句柄
-            [fileHandle closeFile];
-        }
-    }
-    
-    long didDownloadBytes = fileData.length;
-    if(endOfFile > 0){
-        didDownloadBytes = endOfFile;
-    }
-    
-    //self.curDownloadThumbnailModel.didDownloadBytes = didDownloadBytes;
-   
-    [[downloadThumbnailManager shareInstance] DownloadFileDoneOneFileFun];
-    
-}
-
-@end

+ 0 - 20
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+upLoadFile.h

@@ -1,20 +0,0 @@
-//
-//  webSocketManager+upLoadFile.h
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface webSocketManager (upLoadFile)
-- (void)beginGotoUploadFileFunBy:(uploadFileDataModel *)uploadFileDataMod;
-- (void)suspendUploadFileFun;
-
-- (void)applyUploadFileServiceResponseFun:(NSDictionary *)dataDict;
-- (void)upLoadFileFunServiceResponseFun:(NSDictionary *)dataDict;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 669
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager+upLoadFile.m

@@ -1,669 +0,0 @@
-//
-//  webSocketManager+upLoadFile.m
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import "webSocketManager+upLoadFile.h"
-
-@implementation webSocketManager (upLoadFile)
-#pragma mark 监听文件开始的的通知
-- (void)beginGotoUploadFileFunBy:(uploadFileDataModel *)uploadFileDataMod
-{
-    self.isSuspendUploadType = NO;
-    
-    //HLog(@"%@",uploadFileDataMod);
-
-    self.curUploadFileDataMod = uploadFileDataMod;
-    
-    if(![uploadFileDataMod isKindOfClass:[uploadFileDataMod class]]){
-        HLog(@"上传的文件类型不对");
-        return;
-    }
-    
-    [self ApplyUploadFileFun];
-}
-
-- (void)applyUploadFileServiceResponseFun:(NSDictionary *)dataDict
-{
-    if([dataDict isKindOfClass:[NSDictionary class]]){
-        if ([[dataDict allKeys] containsObject:@"data"]) {
-            NSDictionary *data = dataDict[@"data"];
-
-            if ([[data allKeys] containsObject:@"status"]) {
-                NSString  *status = [data objectForKey:@"status"];
-                if(![status isKindOfClass:[NSString class]]){
-                    status = [[NSString  alloc] initWithFormat:@"%@",status];
-                }
-                
-                //if(1)
-                if([status isEqualToString:@"1"])
-                {
-                    //[self tryAgainApplyUploadFun];
-                    [self clearUploadFileDataFun];
-                    [[uploadFileManager shareInstance] uploadFileFailFun];
-                    
-                }else if ([status isEqualToString:@"0"]){
-                    if ([[data allKeys] containsObject:@"taskUid"]) {
-                        NSString *taskUid = data[@"taskUid"];
-                        if(![status isKindOfClass:[NSString class]]){
-                            taskUid = [[NSString  alloc] initWithFormat:@"%@",taskUid];
-                        }
-                        
-                        if(taskUid &&  [taskUid isEqualToString:self.taskUid]){
-                            
-                            NSNumber * fileLengthNum = @0;
-                            if ([[data allKeys] containsObject:@"fileLength"])
-                            {
-                                fileLengthNum = data[@"fileLength"];
-                            }
-                            
-                        //    [[uploadFileManager shareInstance] changeUploadFileState:uploadStateUploading withDidUploadBytes:[fileLengthNum integerValue] withModel:self.curUploadFileDataMod complete:^(BOOL isSuccess) {
-                        //
-                        //    }];
-                            
-                            if([fileLengthNum integerValue] == self.curUploadFileDataMod.totalBytes && self.curUploadFileDataMod.totalBytes != 0){
-                                self.taskUid = nil;
-                                
-                                //self.curUploadFileDataMod.curUploadStateType = uploadStateDone;
-                                
-                                NSMutableArray *delArr = [NSMutableArray new];
-                                [delArr addObject:self.curUploadFileDataMod];
-                                [[uploadFileManager shareInstance] deleteUploadFileRecordBy:delArr withDelCache:NO complete:^(BOOL isSuccess) {
-                                    if (isSuccess) {
-                                        
-                                    }
-                                }];
-                                
-                                mainBlock(^{
-                                    [[iToast makeText:NSLocalizedString(@"File_upload_file_already_exists",nil)] show];
-                                });
-                                
-                                HLog(@"hxd already 上传文件已存在")
-                                return;
-                            }
-                            
-                            self.curUploadPostion = [fileLengthNum longValue];
-                            
-                            if(self.curUploadFileDataMod.curUploadFileType == uploadFileTypeImage){
-                                [self beginGotoUploadImageFun:fileLengthNum];
-                            }
-                            else{
-                                [self beginGotoUploadVidelFun:fileLengthNum];
-                            }
-                        }
-                    }
-                   
-                }
-            }
-        }
-        else{
-            //异常
-            [self tryAgainApplyUploadFun];
-        }
-    }
-    else{
-        //异常
-        [self tryAgainApplyUploadFun];
-    }
-}
-
-
-#pragma mark 图片上传
--(void)beginGotoUploadImageFun:(NSNumber*)fileLengthNum{
-    
-    self.cutFileDataArr = [self fileCutPartsBy:self.AllFileData withDidUpLoadSize:[fileLengthNum integerValue]];
-    
-    if(!self.cutFileDataArr || self.cutFileDataArr.count == 0){
-        [self clearUploadFileDataFun];
-        [[uploadFileManager shareInstance] uploadFileFailFun];
-        
-        HLog(@"hxd fail 上传任务异常终止")
-        return;
-    }
-    
-    //答复的taskUid 跟申请的一致 开发发送内容
-    [self upLoadFileFun];
-}
-
-
-#pragma mark 视频上传
-//每次从文件重新切一片 传一片
--(void)beginGotoUploadVidelFun:(NSNumber*)fileLengthNum{
-    
-    NSData *data = [self cutVideoFileFunAtIndex:fileLengthNum.longLongValue];
-    HLog(@"data leng:%ld",[data length]);
-
-    if([data length] == 0){
-        if(self.curUploadFileDataMod.curUploadStateType == uploadStateDone){
-            [[uploadFileManager shareInstance] uploadFileDoneFun];
-        }
-        else{
-            [[uploadFileManager shareInstance] uploadFileFailFun];
-        }
-        
-        [self clearUploadFileDataFun];
-        
-        return;
-    }
-    
-    self.AllFileData = data;
-    self.cutFileDataArr = [self fileCutPartsBy:self.AllFileData withDidUpLoadSize:0];
-    self.indexOfUploadFlie = 0;
-    
-    //return;
-
-//    NSString*videoPathStr = [cachesFileManager getFilePathWithName:self.curUploadFileDataMod.filename type:uploadFileTypeVideo];
-//    self.AllFileData = [NSData dataWithContentsOfFile:videoPathStr];
-
-   // self.cutFileDataArr = [self fileCutPartsBy:self.AllFileData withDidUpLoadSize:[fileLengthNum integerValue]];
-    
-    if(!self.cutFileDataArr ||self.cutFileDataArr.count ==0){
-        [self clearUploadFileDataFun];
-        [[uploadFileManager shareInstance] uploadFileFailFun];
-        
-        HLog(@"hxd fail 上传任务异常终止")
-        return;
-    }
-    
-    //答复的taskUid 跟申请的一致 开发发送内容
-    [self upLoadFileFun];
-}
-
-#pragma mark 分段读视频文件
--(NSData*)cutVideoFileFunAtIndex:(NSUInteger)dataIndex{
-    NSString *filePath = [cachesFileManager getFilePathWithName:self.curUploadFileDataMod.filename type:uploadFileTypeVideo]; // 文件路径
-    
-    NSFileManager *manager0 = [NSFileManager defaultManager];
-    if(![manager0 fileExistsAtPath:filePath]) {
-     
-        return [NSData new];
-    }
-    
-    NSFileHandle *fileHandle = [NSFileHandle fileHandleForReadingAtPath:filePath]; // 创建文件句柄
-      
-    // 设置分段读取的大小,这里以每次读取1KB为例
-    //const NSUInteger chunkSize = 50 * 1024 *1024;
-    const NSUInteger chunkSize = cutVideoPieceSzie;//5 * 1024 *1024;
-    NSMutableData *data = [NSMutableData data];
-    
-    if (fileHandle) {
-       
-        long long endOfFile = [fileHandle seekToEndOfFile];
-        
-        if(self.curUploadFileDataMod.totalBytes == 0
-           || self.curUploadFileDataMod.totalBytes < endOfFile){//异常处理
-            self.curUploadFileDataMod.totalBytes = endOfFile;
-        }
-        
-        //异常处理
-        if(endOfFile == dataIndex){
-            self.curUploadFileDataMod.totalBytes = endOfFile;
-            self.curUploadFileDataMod.didUploadBytes = endOfFile;
-            self.curUploadFileDataMod.curUploadStateType = uploadStateDone;
-            [fileHandle closeFile];
-            return  data;
-        }
-        
-        if (endOfFile >=  chunkSize) {
-            
-            // 读取文件的分段数据到某个位置
-            [fileHandle seekToFileOffset:dataIndex];
-            
-            // 读取文件的分段数据
-            NSData* chunk = [fileHandle readDataOfLength:chunkSize];
-            if (chunk) {
-                [data appendData:chunk];
-            }
-        }
-        else{
-            // 读取文件的分段数据到某个位置
-            [fileHandle seekToFileOffset:dataIndex];
-            
-            [data appendData:[fileHandle readDataToEndOfFile]];
-        }
-        
-        // 在这里可以对文件内容进行处理
-        // ...
-        
-        // 关闭文件句柄
-        [fileHandle closeFile];
-    }
-    
-    return data;
-}
-
-
-- (void)upLoadFileFunServiceResponseFun:(NSDictionary *)dataDict
-{
-    //{"type":"uploadFileRandomRet","data":{"progress":"9\/10","filePath":"/sdcard/Download/IMG_0036.JPG","status":"0","msg":"success"}}
-    
-    if([dataDict isKindOfClass:[NSDictionary class]]){
-        if ([[dataDict allKeys] containsObject:@"data"]) {
-            NSDictionary *data = dataDict[@"data"];
-            
-            if ([[data allKeys] containsObject:@"taskId"]){
-                NSString *taskId = data[@"taskId"];
-                if(![taskId isEqualToString:self.taskUid]){
-                    return;
-                }
-            }
-            
-            if ([[data allKeys] containsObject:@"status"]) {
-                NSString  *status = [data objectForKey:@"status"];
-                if(![status isKindOfClass:[NSString class]]){
-                    status = [[NSString  alloc] initWithFormat:@"%@",status];
-                }
-                
-                 if ([status isEqualToString:@"0"]){
-                    
-                    NSNumber * fileLengthNum = @0;
-                    if ([[data allKeys] containsObject:@"fileLenth"])
-                    {
-                        fileLengthNum = data[@"fileLenth"];
-                    }
-                    
-                     if (fileLengthNum && fileLengthNum.longLongValue >= self.curUploadFileDataMod.totalBytes)
-                     {//
-                         //告诉代理 完成了
-                         NSString *commandStr = [RCCommandHelp uploadOrBackupsDoneBy:self.taskUid withFileName:self.fileName withType:YES];
-                        
-                         [self.commandChannelManager rc_sendData:commandStr];
-                         
-                         [self clearUploadFileDataFun];
-                         [[uploadFileManager shareInstance] uploadFileDoneFun];
-                     }
-                     else{
-                         //异常处理
-                         if([fileLengthNum longValue] - self.curUploadPostion > EachPieceSzie){
-                             HLog(@"发现上传后返回的长度 出错");
-                             
-                             if(self.curUploadFileDataMod.curUploadFileType == uploadFileTypeVideo)
-                             {//清除已经取出来的数据  后面会根据fileLengthNum 重新拿数据
-                                 self.cutFileDataArr = [NSMutableArray new];
-                             }
-                             else{
-                                 NSInteger curIndex = [fileLengthNum longValue] % EachPieceSzie;
-                                 //把当前的上传位置指定已经上传的前一片,后续++
-                                 self.indexOfUploadFlie = curIndex -1;
-                             }
-                         }
-                         
-                         self.curUploadPostion = [fileLengthNum longValue];
-                         [self handleUploadingFun:fileLengthNum];
-                     }
-
-                }
-                 else if ([status isEqualToString:@"2"]) {
-                     [self clearUploadFileDataFun];
-                     [[uploadFileManager shareInstance] suspendUploadFileFun:YES withModel:nil];
-                     
-                     NSString *tipStr = NSLocalizedString(@"disk_not_find_tip",nil);
-                     mainBlock(^{
-                         [[iToast makeText:tipStr] show];
-                     });
-                 }
-                 else if ([status isEqualToString:@"5"]) {
-                     [self clearUploadFileDataFun];
-                     [[uploadFileManager shareInstance] suspendUploadFileFun:YES withModel:nil];
-                     
-                     NSString *tipStr = NSLocalizedString(@"disk_space_not_tip",nil);
-                     mainBlock(^{
-                         [[iToast makeText:tipStr] show];
-                     });
-                 }
-                else //if ([status isEqualToString:@"1"])
-                {
-                    //[self tryAgainApplyUploadFun];
-                    [self clearUploadFileDataFun];
-                    [[uploadFileManager shareInstance] uploadFileFailFun];
-                }
-            }
-        }
-        else{
-            //异常
-            [self tryAgainApplyUploadFun];
-        }
-    }
-    else{
-        //异常
-        [self tryAgainApplyUploadFun];
-    }
-    
-}
-
-#pragma mark 申请上传文件
-- (void)ApplyUploadFileFun
-{
-    //if(!self.taskUid){
-        self.taskUid = [iTools getTaskUidStr];
-    
-        if([self.taskUid isEqualToString:self.downloadFileTaskUid]
-           ||[self.taskUid isEqualToString:self.backupsTaskUid]
-           ||[self.taskUid isEqualToString:self.downloadThumbnailTaskUid])
-        {//重新生成taskUid
-            [self ApplyUploadFileFun];
-            return;
-        }
-    
-        self.fileName = self.curUploadFileDataMod.filename;
-        if(self.curUploadFileDataMod.curUploadFileType == uploadFileTypeVideo){
-            //self.AllFileData = self.curUploadFileDataMod.videoData;
-        }
-        else{
-            self.AllFileData = self.curUploadFileDataMod.imageData;
-        }
-        
-        self.indexOfUploadFlie = 0;
-        
-        //HLog(@"%@  %@",self.taskUid,self.fileName);
-        //self.cutFileDataArr = [self fileCutPartsBy:self.AllFileData];
-    //}
-    
-    NSString * commandStr = [RCCommandHelp applyForUploadFileBy:self.taskUid  filePath:self.fileName];
-    [self.commandChannelManager rc_sendData:commandStr];
-}
-
-#pragma mark 遇到异常时 重新上传
-- (void)tryAgainApplyUploadFun
-{
-    self.taskUid = nil;
-    [self ApplyUploadFileFun];
-}
-
-#pragma mark 处理上传过程
-- (void)handleUploadingFun:(NSNumber*)fileLengthNum
-{
-    //异常处理
-    if(fileLengthNum.longValue < 0)
-    {
-        return;
-    }
-    
-    BOOL isCanUseCellular = [HWDataManager getBoolWithKey:stringKeyAddSn(Const_file_Transfe_canUse_Cellular_all)];
-    
-    if(!isCanUseCellular){//不允许流量备份
-        //
-        if([AFNetworkReachabilityManager sharedManager].networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWWAN){
-            self.isSuspendUploadType = YES;
-        }
-        
-    }
-    
-    if(self.isSuspendUploadType){
-        //暂停
-        self.taskUid = nil;
-        //NSInteger didUploadSize = (self.indexOfUploadFlie+1) * (self.cutFileEachPieceSzie);
-        NSInteger didUploadSize = fileLengthNum.longLongValue;
-        [[uploadFileManager shareInstance] changeUploadFileState:uploadStateSuspend withDidUploadBytes:didUploadSize  withModel:self.curUploadFileDataMod complete:^(BOOL isSuccess) {
-
-        }];
-        
-        return;
-    }
-    
-    if(self.cutFileDataArr.count > 0
-       && self.indexOfUploadFlie < (self.cutFileDataArr.count -1)) {
-        
-        //NSInteger didUploadSize = (self.indexOfUploadFlie+1) * (self.cutFileEachPieceSzie);
-        NSInteger didUploadSize = fileLengthNum.longLongValue;
-        
-        [[uploadFileManager shareInstance] changeUploadFileState:uploadStateUploading withDidUploadBytes:didUploadSize withModel:self.curUploadFileDataMod complete:^(BOOL isSuccess) {
-
-        }];
-        
-        self.indexOfUploadFlie ++;
-        [self upLoadFileFun];
-    }
-    else if(self.curUploadFileDataMod.curUploadFileType == uploadFileTypeVideo && fileLengthNum && fileLengthNum.longLongValue < self.curUploadFileDataMod.totalBytes){
-        //视频做了二次切割 不一定上传完了
-        HLog(@"视频上传传完一片 再来一片");
-        [self beginGotoUploadVidelFun:fileLengthNum];
-    }
-    else{
-        HLog(@"上传完成");
-        
-        //告诉代理 完成了
-        NSString *commandStr = [RCCommandHelp uploadOrBackupsDoneBy:self.taskUid withFileName:self.fileName withType:YES];
-       
-        
-        [self.commandChannelManager rc_sendData:commandStr];
-        
-        [self clearUploadFileDataFun];
-        [[uploadFileManager shareInstance] uploadFileDoneFun];
-    }
-}
-
--(void)clearUploadFileDataFun{
-    //上传数据清空
-    self.taskUid = nil;
-    self.fileName = nil;
-    self.AllFileData = nil;
-    self.indexOfUploadFlie = 0;
-    self.cutFileDataArr = nil;
-    self.curUploadFileDataMod = nil;
-    self.isSuspendUploadType = NO;
-    
-}
-
-- (Byte)getBCC:(NSData *)data {
-    Byte bcc = 0;
-    unsigned char *bytes = (unsigned char *)[data bytes];
-    for (int i = 0; i < [data length]; i++) {
-        bcc = (Byte)(bcc ^ bytes[i]);
-    }
-    return bcc;
-}
-
-
-#pragma mark 文件切片
--(NSMutableArray *)fileCutPartsBy:(NSData*)curData withDidUpLoadSize:(NSInteger)didLoadSize{
- 
-    NSData * data = curData;
-    
-    NSUInteger allLength = data.length;
-    
-    NSUInteger subs = EachPieceSzie;//1*1024*1024;//4096;//要切片的大小,我这里设置的是4096字节
-    //NSUInteger subs = 31*1024;//4096;//要切片的大小,内存没有暴增
-    
-    self.cutFileEachPieceSzie = subs;
-    
-    NSInteger index = 0;//起始位置
-    
-    if(didLoadSize != 0){
-        if (didLoadSize % subs != 0){
-            //出错了
-            return nil;
-        }
-        else{
-//            index = didLoadSize/subs;
-//            allLength = allLength - didLoadSize;
-            
-            self.indexOfUploadFlie = didLoadSize/subs;
-        }
-    }
-
-    NSMutableArray *dataArray =[NSMutableArray new];
-    
-    do {
-        //@autoreleasepool {
-            if (allLength>subs) {
-                
-                NSRange range =NSMakeRange(index*subs, subs);
-                
-                index++;
-                
-                //NSLog(@"%@",NSStringFromRange(range));
-                
-                [dataArray addObject:[data subdataWithRange:range]];
-                
-                allLength = allLength - subs;
-                
-            }else{
-                NSRange range = NSMakeRange(index*subs, allLength);
-                
-                //NSLog(@"%@",NSStringFromRange(range));
-                NSData *subdata = [data subdataWithRange:range];
-                
-                if(subdata){
-                    [dataArray addObject:subdata];
-                }
-                
-                allLength = 0;
-            }
-        //}
-        
-    } while (allLength>0);
-    
-    HLog(@"dataArray leng:%ld",dataArray.count);//最后得到切片的结果,数组里面是NSData对象
-
-    return dataArray;
-}
-
-// int转NSData
-- (NSData *)int2Data:(int)i{
-    Byte b0 = i & 0xff;
-    Byte b1 = i >> 8 & 0xff;
-    Byte b2 = i >> 16 & 0xff;
-    Byte b3 = i >> 24 & 0xff;
-    // 有大小端模式问题?
-    //Byte result[] = {b0, b1, b2, b3};
-    Byte result[] = {b3, b2, b1, b0};
-    return [NSData dataWithBytes:result length:sizeof(result)];
-}
-
-// long转NSData
-- (NSData *)long2Data:(long)i{
-    Byte b0 = i & 0xff;
-    Byte b1 = i >> 8 & 0xff;
-    Byte b2 = i >> 16 & 0xff;
-    Byte b3 = i >> 24 & 0xff;
-    Byte b4 = i >> 32 & 0xff;
-    Byte b5 = i >> 40 & 0xff;
-    Byte b6 = i >> 48 & 0xff;
-    Byte b7 = i >> 56 & 0xff;
-    
-    // 有大小端模式问题?
-    //Byte result[] = {b0, b1, b2, b3};
-    //Byte result[] = {b3, b2, b1, b0};
-    Byte result[] = {b7, b6, b5,b4,b3, b2, b1, b0};
-    return [NSData dataWithBytes:result length:sizeof(result)];
-}
-
-// short转NSData
-- (NSData *)short2Data:(short)i{
-    Byte b0 = i & 0xff;
-    Byte b1 = i >> 8 & 0xff;
-    // 有大小端模式问题?
-    //Byte result[] = {b0, b1, b2, b3};
-    Byte result[] = { b1, b0};
-    return [NSData dataWithBytes:result length:sizeof(result)];
-}
-
-#pragma mark 可以发送文件了
-/*
-文件数据字节流byte[]
-  格式1:下载日志文件压缩包
-       |head|msgType|taskId|    datalen            | curNum | totalNum|   data   |bcc校验|end|
-  长度:  1      1      6 (curNum+totalNum+data)        4         4      datalen- 8   1     1
-       0x68  0x0e                                                        0x16
-    bcc校验从第1位 也就是从msgType起 到 校验位前(不包含校验位)数据作bcc校验
- */
-- (void)upLoadFileFun
-{
-    //HLog(@"上传文件%ld/%ld",self.indexOfUploadFlie +1,self.cutFileDataArr.count);
-    
-    if(self.cutFileDataArr.count <= self.indexOfUploadFlie)
-    {
-        return;
-    }
-    
-    //data
-    NSData *curData = self.cutFileDataArr[self.indexOfUploadFlie];
-    //HLog(@"headData:%@",curData);
-    
-    //head
-    unsigned char headNum = 104;
-    NSData *headData = [NSMutableData dataWithBytes:&headNum length:sizeof(headNum)];
-    //HLog(@"headData:%@",headData);
-    
-    //msgType
-    //unsigned char msgType = 12;
-    //unsigned char msgType = 15;
-    unsigned char msgType = 20;
-    NSData *msgTypeData = [NSMutableData dataWithBytes:&msgType length:sizeof(msgType)];
-    //HLog(@"msgTypeData:%@",msgTypeData);
-    
-    //taskId
-    NSData *taskIdData = [self.taskUid dataUsingEncoding:NSUTF8StringEncoding];
-    //HLog(@"taskIdData:%@",taskIdData);
-    
-    //datalen
-    //int datalenNum = int([curData length] +(4+4));
-    int datalenNum = [curData length] + (4+4);
-    //NSData *datalenData = [NSData dataWithBytes:&datalenNum length:sizeof(datalenNum)];
-    NSData *datalenData = [self int2Data:datalenNum];
-    //HLog(@"datalenData %@",datalenData);
-    
-    
-    //curNum
-    int curNum = (int)self.indexOfUploadFlie ;//+ 1;
-    //NSData *curNumData = [NSData dataWithBytes:&curNum length:sizeof(curNum)];
-    NSData * curNumData = [self int2Data:curNum];
-    //HLog(@"curNumData:%@",curNumData);
-    
-    //totalNum
-    int totalNum = (int)self.cutFileDataArr.count;
-    //NSData *totalNumData = [NSData dataWithBytes:&totalNum length:sizeof(totalNum)];
-    NSData * totalNumData = [self int2Data:totalNum];
-    //HLog(@"totalNumData:%@",totalNumData);
-    
-    long Postion = self.curUploadPostion;
-    //long Postion = 100000000000;
-    NSData * PostionData = [self long2Data:Postion];
-    HLog(@"PostionData:%@",PostionData);
-
-    NSMutableData *checkBCCData = [NSMutableData new];
-    [checkBCCData appendData:msgTypeData];
-    [checkBCCData appendData:taskIdData];
-    [checkBCCData appendData:datalenData];
-    [checkBCCData appendData:curNumData];
-    [checkBCCData appendData:totalNumData];
-    [checkBCCData appendData:PostionData];
-    [checkBCCData appendData:curData];
-    
-    long length = [curData length];
-    //HLog(@"curData length %d",length);
-    
-    Byte bccCheck = [self getBCC:checkBCCData];
-    //HLog(@"bcc 000 %d",bccCheck);
-    
-    //bcc校验
-    char bccNum = (char)bccCheck;
-    NSData *bccData = [NSMutableData dataWithBytes:&bccNum length:sizeof(bccNum)];
-    //HLog(@"%@",bccData);
-    
-    //end
-    unsigned char endNum = 22;
-    NSData *endData = [NSMutableData dataWithBytes:&endNum length:sizeof(endNum)];
-    //HLog(@"%@",endData);
-    
-    NSMutableData *sendData = [NSMutableData new];
-    [sendData appendData:headData];
-    [sendData appendData:checkBCCData];
-    [sendData appendData:bccData];
-    [sendData appendData:endData];
-    
-    //HLog(@"sendData length %ld",[sendData length]);
-    [self.commandChannelManager rc_sendData:sendData];
-    //HLog(@"文件上传sendData %@",sendData);
-}
-
-- (void)suspendUploadFileFun
-{
-    self.isSuspendUploadType = YES;
-}
-
-
-@end

+ 0 - 140
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager.h

@@ -1,140 +0,0 @@
-//
-//  webSocketManager.h
-//
-//
-//  Created by David on 2024/6/20.
-//
-
-#import <Foundation/Foundation.h>
-#import <RCCloudPhoneSDK/RCCommandChannel.h>
-#import "AFNetworkReachabilityManager.h"
-#import "backupsFileManager.h"
-#import "nasBackupsManager.h"
-#import "uploadFileManager.h"
-#import "downloadManager.h"
-#import "downloadThumbnailManager.h"
-#import "AudioSessionObject.h"
-#import "commandSendCheckModel.h"
-#import "RCCommandHelp.h"
-#import "cloudPhoneCommonModel.h"
-#import "couldPhoneBaseInfoModel.h"
-#import "couldphoneSysInfoModel.h"
-#import "TvStatusModel.h"
-#import "couldPhoneCommonModel.h"
-#import "extraMediaEventModel.h"
-#import "customDownloadManager.h"
-#import "boxDownloadFileManager.h"
-#import "DFPlayer.h"
-#import "audioPlayingView.h"
-#import "nasDownloadFileManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface webSocketManager : NSObject
-{
-    //下载nas相关
-    customDownloadOperation* curDownloadmodel;
-}
-
-+(webSocketManager *)shareInstance;
-@property (nonatomic, strong) RCCommandChannelManager *commandChannelManager;//指令通道
-
-//上传文件用到
-@property (nonatomic, copy) NSString * _Nullable taskUid;
-@property (nonatomic, copy) NSString * _Nullable fileName;
-@property (nonatomic, strong) NSData * _Nullable AllFileData;
-@property (nonatomic, strong) NSMutableArray * _Nullable cutFileDataArr;
-@property (nonatomic, assign) NSInteger indexOfUploadFlie;
-@property (nonatomic, assign) NSInteger cutFileEachPieceSzie;
-@property (nonatomic, strong) uploadFileDataModel *curUploadFileDataMod;
-@property (nonatomic, assign) BOOL isSuspendUploadType;
-@property (nonatomic, assign) long curUploadPostion;//当前上次片的位置
-
-//下载文件用到
-@property (nonatomic, copy) NSString * _Nullable downloadFileTaskUid;
-@property (nonatomic, strong) couldPhoneFileModel *curDownloadFileModel;
-@property (nonatomic, copy) NSString * _Nullable wsDownloadSaveFilePath;//下载好的ws文件保存路径
-@property (nonatomic, copy) NSString * _Nullable wsDownloadDonwPlishPath;//下载好的ws文件保存key
-
-//备份文件用到
-@property (nonatomic, copy) NSString * _Nullable backupsTaskUid;
-@property (nonatomic, copy) NSString * _Nullable backupsFileName;
-@property (nonatomic, strong) NSData * _Nullable backupsAllFileData;
-@property (nonatomic, strong) NSMutableArray * _Nullable backupsCutFileDataArr;
-@property (nonatomic, assign) NSInteger backupsIndexOfUploadFlie;
-//@property (nonatomic, assign) NSInteger cutFileEachPieceSzie;
-@property (nonatomic, strong) photosBackupsTaskModel *curPhotosBackupsTaskMod;
-@property (nonatomic, assign) long curBackupsPostion;//当前上次片的位置
-
-//下载缩略图用到
-@property (nonatomic, copy) NSString * _Nullable downloadThumbnailTaskUid;
-@property (nonatomic, strong) couldPhoneFileModel *curDownloadThumbnailModel;
-
-//下载nas文件用到
-@property (nonatomic, copy) NSString*nasFullPath;
-
-
-//下载nas ws 文件 保存到文件 正在弹框中
-@property (nonatomic, assign) BOOL isShowingFileDocumentPickerType;
-
-@property(nonatomic,assign)BOOL isRebootIngType;//是否重启中
-@property(nonatomic,assign)BOOL isResetingType;//是否恢复出厂中
-@property(nonatomic,assign)BOOL isChangeBoxType;//是否更换盒子
-@property(nonatomic,assign)BOOL isLogoutByOtherType;//被挤下线
-@property(nonatomic,assign)BOOL isWaitShowLogoutAlert;//隐私模式等待被挤下线弹框是否弹出
-
-@property(nonatomic,assign)BOOL isDiDChangePhoneSizeType;//是否修改了分辨率(如果是 进去云机需要重设解码器)
-
-//链接websocket
-- (void)opencommandChannelManagerrc_openURL;
-- (void)WebSocketNeedRelinkFun;
-//websocket 发消息
-- (void)send_data:(NSString *)dataStr;
-
-//创建备份文件夹
-- (void)createBackupsFolderBy:(NSString*)backupsDefaultPath;
-//获取备份文件夹列表
-- (void)getBackupFolderListFun;
-- (void)searchFileListBeginFun:(NSMutableDictionary *)dict;
-
-#pragma mark 重启云机
-- (void)needToRebootFun;
-#pragma mark 恢复出厂设置云机
-- (void)needToResetFun;
-#pragma mark 获取云机基本信息
-- (void)getBaseInfoFun;
-#pragma mark 获取云机剩余空间(包含外挂磁盘)
-- (void)getExtraFilesListFun;
-#pragma mark 获取云机系统镜像等信息
-- (void)getSysInfoFun;
-
-#pragma mark 云机截图保存到云机图库
-- (void)screenshotInCloudPhoneFun;
-#pragma mark 获取TV投屏状态
-- (void)getTvStatusFun;
-#pragma mark 关闭TV投屏状态
-- (void)offTvFun;
-#pragma mark 开启TV投屏状态
-- (void)onTvFun;
-
-//上传
-- (void)beginGotoUploadFileFunBy:(uploadFileDataModel *)uploadFileDataMod;
-- (void)suspendUploadFileFun;
-//备份
-- (void)beginGotoBackupsFileFunBy:(photosBackupsTaskModel *)photosBackupsTaskMod;
-//下载缩略图
-- (void)begindownloadThumbnailImageFunBy:(couldPhoneFileModel *)couldPhoneFileMod;
-//下载
-- (void)begindownloadFileFunBy:(couldPhoneFileModel *)couldPhoneFileMod;
-
-#pragma mark nas下载完成
-- (void)NasDownloadTaskFinishedNoti:(customDownloadOperation *)nasDownloadOperation;
-
-- (void)handleDownloadResponseFunBy:(id)message;
-- (void)downloadFileFunServiceResponseFun:(NSData *)fileData with:(BOOL)isDownloadDone;
-- (void)downloadThumbnailFileFunServiceResponseFun:(NSData *)fileData with:(BOOL)isDownloadDone;
-#pragma mark 处理ws保存操作
-- (void)saveDownDoneFileToPhoneFunBy:(NSString*)filePath withKey:(NSString *)key;
-@end
-
-NS_ASSUME_NONNULL_END

File diff suppressed because it is too large
+ 0 - 1070
创维盒子/双子星云手机/cloudPhone/websocket/webSocketManager.m


+ 0 - 65
创维盒子/双子星云手机/connectDeviceManager/connectDeviceManager.h

@@ -1,65 +0,0 @@
-//
-//  connectDeviceManager.h
-// GBOX
-//
-//  Created by David on 2023/10/9.
-//
-
-#import <Foundation/Foundation.h>
-#import "DeviceThirdIdModel.h"
-NS_ASSUME_NONNULL_BEGIN
-
-//#define ruiyunlinkIp @"172.17.0.2"
-//#define ruiyunlinkIp @"172.17.0.1"
-#define ruiyunlinkIp @"127.0.0.1"
-
-typedef enum{
-    DeviceConnectUnknown = -1,
-    DeviceConnectGetThridMsging = 0,
-    DeviceConnectGetThridOK,
-    DeviceConnectGetThridFail,
-    DeviceConnectDeciceing,
-    DeviceConnectDeciceOk,
-}connectDeviceState;
-
-/**
- *  
- */
-typedef void (^netWork_DidEndByOK) (NSInteger didSuc); // 0 fail 1 suc -1 处理 2数据错误
-
-@interface connectDeviceManager : NSObject
-+(connectDeviceManager *)shareInstance;
-
-/**自定义字段 是否为局域网*/
-@property (nonatomic,assign) bool isPingOk; //
-@property(nonatomic,strong) DeviceThirdIdModel *DeviceThirdIdMod;//设备的第三方信息  连接时需要
-@property(nonatomic,assign) connectDeviceState  curConnectDeviceState;
-
-//是否完成了第一次密码输入
-@property(nonatomic,assign) BOOL  isFirstInputPwdDone;
-
-//重新初始化
-@property(nonatomic,assign) BOOL  isReInitType;
-
-@property(nonatomic,copy) NSString*  tcpPortStr;
-
-#pragma mark 根据扫码的sn获取第三方信息 是否需要重连
--(void)getThridMsgBySN:(NSString*)snStr needReconnect:(BOOL)needReconnect didNetEnd:(netWork_DidEndByOK)didNetEndIsOK;
-
-#pragma mark 刷新扫码的sn获取第三方信息 是否需要重连
--(void)RefreshThridMsg;
-
-#pragma mark 保持卡密码
--(void)updateCardInfoBySN:(NSString*)snStr withPwdStr:(NSString*)pwd didNetEnd:(netWork_DidEndByOK)didNetEndIsOK;
-
-- (void)tryReconnectFun;
-//音视频 链接返回-5的时候调用
-- (void)recreateHttpServiceFun;
-
-//链接
-- (void)onConnectFun;
-//断开链接
-- (void)disconnect;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 657
创维盒子/双子星云手机/connectDeviceManager/connectDeviceManager.m

@@ -1,657 +0,0 @@
-//
-//  connectDeviceManager.m
-// GBOX
-//
-//  Created by David on 2023/10/9.
-//
-
-//第三方  瑞云 的链接服务
-#import "connectDeviceManager.h"
-
-#import <RayProxy/RaylinkProxy.h>
-#import <CocoaAsyncSocket/GCDAsyncSocket.h>
-
-#import "WHPingTester.h"
-#import "RSATool.h"
-#import "errorAlertTool.h"
-
-@interface connectDeviceManager ()<
-GCDAsyncSocketDelegate,
-RaylinkProxyDelegate,
-WHPingDelegate
->
-{
-    dispatch_queue_t initProxyQueue;
-    
-    WHPingTester *whPingTester;
-    
-    BOOL didRuiYunInitOkType;
-    
-    BOOL disconnected_cb_type;//瑞云回调链接断开了
-    
-    BOOL didPingType;//是否ping过
-    BOOL didRuiyunLinkType;//是否瑞云链接通过
-    NSInteger RuiyunLinkSecond;//瑞云链接描述
-}
-
-@property (nonatomic, strong) NSTimer *connectCheckTimer;//这个应该是检查初始化是否完成的
-
-//@property (nonatomic, strong) GCDAsyncSocket *socket;
-//
-//@property (nonatomic, strong) GCDAsyncSocket *serverSocket;
-
-@property (nonatomic, assign) BOOL sdnConnected;
-@property (nonatomic, assign) BOOL peerConnected;
-
-@property (nonatomic, assign) NSInteger tcpPort;
-
-@property (nonatomic, copy) NSString *Pre_sdnId;//上一个sdn好
-@property (nonatomic, assign) BOOL isGetThridMsgType;
-@end
-
-@implementation connectDeviceManager
-static connectDeviceManager *connectDeviceManagerInstance = nil;
-+(connectDeviceManager *)shareInstance;
-{
-    static dispatch_once_t onceToken;
-    
-    dispatch_once(&onceToken, ^{
-        connectDeviceManagerInstance = [[connectDeviceManager alloc] init];
-        connectDeviceManagerInstance.curConnectDeviceState = DeviceConnectUnknown;
-    });
-    
-    return connectDeviceManagerInstance;
-}
-
-
-#pragma mark 根据扫码的sn获取第三方信息
--(void)getThridMsgBySN:(NSString*)snStr needReconnect:(BOOL)needReconnect didNetEnd:(netWork_DidEndByOK)didNetEndIsOK
-{
-    if(_isGetThridMsgType){
-        didNetEndIsOK(-1);
-        return;
-    }
-    
-    if(needReconnect){
-        _curConnectDeviceState = DeviceConnectGetThridMsging;
-
-        //更换设备
-//        NSString *curSdnId = self.DeviceThirdIdMod.data.sdnId;
-//        if(curSdnId){
-//            _Pre_sdnId = curSdnId;
-//        }
-        
-    }
-    
-    NSMutableDictionary *paraDict = [NSMutableDictionary new];
-    [paraDict setValue:snStr forKey:@"sn"];
-    _isGetThridMsgType = YES;
-    KWeakSelf
-    [[netWorkManager shareInstance] CommonGetWithCallBackCode:getThirdIdBySn Parameters:paraDict success:^(id  _Nonnull responseObject) {
-        
-        if(!needReconnect){
-            NSError *parseError;
-            NSData *jsonData = [NSJSONSerialization dataWithJSONObject:responseObject options:NSJSONWritingPrettyPrinted error:&parseError];
-            if (parseError) {
-              //解析出错
-            }
-            NSString * str = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
-            [cachesFileManager writeLogsWithMsg:str];
-        }
-        
-        self->_isGetThridMsgType = NO;
-        DeviceThirdIdModel *model = [[DeviceThirdIdModel alloc] initWithDictionary:responseObject error:nil];
-
-        if(model.status == 0
-           && model.data)
-        {
-            weakSelf.DeviceThirdIdMod = model;
-            
-            NSString*desPwdstr = [RSATool AES128Decrypt:weakSelf.DeviceThirdIdMod.data.password key:AESCODEKEEYY];
-            
-            didNetEndIsOK(YES);
-            
-            /*密码保持在本地*/
-            NSDictionary *deviceDict = [HWDataManager getObjectWithKey:Const_Have_Add_Device];
-            NSMutableDictionary *dict = [[NSMutableDictionary alloc] initWithDictionary:deviceDict];
-            [dict setObject:desPwdstr forKey:Const_Have_Add_Device_PWD];
-           
-            
-            NSString *sdnid = model.data.sdnId;
-            
-            if(sdnid){
-                [dict setObject:sdnid forKey:Const_Have_Add_Device_sdnid];
-            }
-            
-            [HWDataManager setObjectWithKey:Const_Have_Add_Device_Privacy_Mode value:[NSNumber numberWithBool:model.data.isPrivacyMode]];
-            
-            [HWDataManager setObjectWithKey:Const_Have_Add_Device value:dict];
-            
-            //
-            bool connected = [RaylinkProxy.sharedManager isSdnConnected];
-            if(!connected || needReconnect){
-                self->didPingType = NO;
-                self->didRuiyunLinkType = NO;
-                self->_isPingOk = NO;
-                self->_tcpPortStr = nil;
-                self->_tcpPort = 0;
-                
-                weakSelf.curConnectDeviceState = DeviceConnectGetThridOK;
-                NSString *ipStr = weakSelf.DeviceThirdIdMod.data.ip;
-                [weakSelf startPingDeviceIp:ipStr];
-                [weakSelf initRuiyunSDKFun];
-            }
-            
-        }
-        else{
-            
-            if(model.status == 201||model.status == 202){
-                didNetEndIsOK(model.status);
-            }
-            else{
-                didNetEndIsOK(2);
-            }
-        }
-        
-        
-    } failure:^(NSError * _Nonnull error) {
-        HLog("网络报错");
-        self->_isGetThridMsgType = NO;
-        didNetEndIsOK(NO);
-    }];
-}
-
-#pragma mark 刷新扫码的sn获取第三方信息 是否需要重连
--(void)RefreshThridMsg
-{
-    /*先判断本地有无设备 无设备时需要先扫码添加设备*/
-    NSDictionary *deviceDict = [HWDataManager getObjectWithKey:Const_Have_Add_Device];
-    if (deviceDict && [[deviceDict allKeys] containsObject:Const_Have_Add_Device_SN]){
-        //有设备了先去做链接准备  // 80bec9c5
-        NSString *SNStr = deviceDict[@"Const_Have_Add_Device_SN"];
-        
-        if(SNStr){
-            [[connectDeviceManager shareInstance] getThridMsgBySN:SNStr needReconnect:NO  didNetEnd:^(NSInteger didSuc) {
-                
-            }];
-        }
-    }
-}
-
-#pragma mark 初始化瑞云的SDK等
-- (void)initRuiyunSDKFun{
-    
-    if(didRuiYunInitOkType){
-        [self onConnectFun];
-        return;
-    }
-        
-    HLog(@"initRuiyunSDKFun");
-    
-    self.sdnConnected = NO;
-    self.peerConnected = NO;
-    
-    //self.sendBtn.enabled = NO;
-    
-    //self.sdnConnectStateLab.text = @"SDN state: Connectting";
-    //self.sdnIDLab.text = @"My SDN ID:";
-    
-    RaylinkProxy.sharedManager.delegate = self;
-    
-    initProxyQueue = dispatch_queue_create("init_proxy", 0);
-    
-    NSURL *logUrl = [[NSFileManager.defaultManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask].firstObject URLByAppendingPathComponent:@"logs"];
-    
-    if (![NSFileManager.defaultManager fileExistsAtPath:logUrl.path]) {
-        [NSFileManager.defaultManager createDirectoryAtURL:logUrl withIntermediateDirectories:YES attributes:NULL error:NULL];
-    }
-    
-    KWeakSelf
-    dispatch_async(initProxyQueue, ^{
-        NSData *sdnInfo = [NSData dataWithContentsOfURL:[[NSBundle.mainBundle bundleURL] URLByAppendingPathComponent:@"planet.1ali_3ry_peer"]];
-        
-        /// 1. 初始化代理库
-        [RaylinkProxy.sharedManager initProxy:logUrl.path rootSdnInfo:sdnInfo];
-        
-        self->didRuiYunInitOkType = YES;
-        
-        /// 启动定时器监听 SND 连接状态
-        self.connectCheckTimer = [NSTimer scheduledTimerWithTimeInterval:0.5 repeats:YES block:^(NSTimer * _Nonnull timer) {
-            
-            /// 2. 监听SDN 连接状态
-            bool connected = [RaylinkProxy.sharedManager isSdnConnected];
-            if (self.sdnConnected == connected) {
-                return;
-            }
-            
-            self.sdnConnected = connected;
-            if (self.sdnConnected) {
-                
-                [weakSelf onConnectFun];
-                [self->_connectCheckTimer invalidate];
-                
-                //self.sdnConnectStateLab.text = @"SDN state: Connected";
-                //self.sdnIDLab.text = [@"My SDN ID: " stringByAppendingString:[RaylinkProxy.sharedManager getSdnId]];
-                
-                    
-            } else {
-                //self.sdnConnectStateLab.text = @"SDN state: Connectting";
-            }
-            
-            
-        }];
-        
-        [[NSRunLoop currentRunLoop] addTimer:self.connectCheckTimer forMode:NSRunLoopCommonModes];
-        [[NSRunLoop currentRunLoop] run];
-        
-    });
-    
-    
-    /// 作为服务端时,启动端口监听
-//    self.serverSocket = [[GCDAsyncSocket alloc] initWithDelegate:self delegateQueue:dispatch_get_main_queue()];
-//
-//    if ([self.serverSocket acceptOnPort:0 error:NULL]) {
-//        //self.serverPortLab.text = [NSString stringWithFormat: @"server port: %d", self.serverSocket.localPort];
-//        NSLog(@"accept ok %d",self.serverSocket.localPort);
-//    }
-    
-}
-
-
-- (void)onConnectFun{
-    
-    if (self.peerConnected == YES
-        && _Pre_sdnId
-        && ![_Pre_sdnId isEqualToString:self.DeviceThirdIdMod.data.sdnId]) {
-        //[self disconnect];
-
-        //return;
-    }
-    
-    RuiyunLinkSecond = 0;
-    _curConnectDeviceState = DeviceConnectDeciceing;
-
-    NSString *curSdnId = self.DeviceThirdIdMod.data.sdnId; //@"3dfe7c1f";
-    
-    if(!curSdnId){
-        NSDictionary *deviceDict = [HWDataManager getObjectWithKey:Const_Have_Add_Device];
-        
-        if(deviceDict && [[deviceDict allKeys] containsObject:Const_Have_Add_Device_sdnid])
-        {
-            curSdnId = deviceDict[Const_Have_Add_Device_sdnid];
-        }
-    }
-    
-    /// 3. 根据对端的 SDN ID 创建连接
-    [RaylinkProxy.sharedManager createNewConnection:curSdnId];
-    
-    //self.socket = [[GCDAsyncSocket alloc] initWithDelegate:self delegateQueue:dispatch_get_main_queue()];
-    //[self.connectBtn setEnabled:NO];
-    //[self.connectBtn setTitle:@"连接中..." forState:UIControlStateDisabled];
-    
-    //KWeakSelf
-    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(30 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-        if(!self->didRuiyunLinkType){
-            //弹框瑞云链接失败
-            [[errorAlertTool shareInstance] showNetErrorAlertFun:11 didClickBut:^(NSInteger tag) {
-                
-            }];
-        }
-    });
-}
-
-- (void)disconnect {
-    
-    NSString *curSdnId = self.DeviceThirdIdMod.data.sdnId;
-    if(_Pre_sdnId){
-        curSdnId = _Pre_sdnId;
-    }
-    
-    if(curSdnId){
-        [RaylinkProxy.sharedManager closeConnection:curSdnId];
-        [RaylinkProxy.sharedManager closeHttpService:curSdnId];
-        //[self.connectBtn setTitle:@"连接" forState:UIControlStateNormal];
-        self.peerConnected = NO;
-    }
-}
-
-- (IBAction)onClickSend:(id)sender {
-    
-//    if (self.messageTF.text.length <= 0) {
-//        return;
-//    }
-    
-    //[self.socket writeData:[@"111" dataUsingEncoding:NSUTF8StringEncoding] withTimeout:-1 tag:0];
-    
-}
-
-//- (void)socket:(GCDAsyncSocket *)sock didAcceptNewSocket:(GCDAsyncSocket *)newSocket {
-//
-//    NSLog(@"didAcceptNewSocket");
-//
-//
-//    [newSocket setDelegate:self delegateQueue:dispatch_get_main_queue()];
-//
-//    NSThread *revcThread = [[NSThread alloc] initWithBlock:^{
-//
-//        while (true) {
-//            [newSocket readDataWithTimeout:-1 tag:0];
-//            [NSThread sleepForTimeInterval:0.1];
-//        }
-//    }];
-//
-//    [revcThread start];
-//
-//}
-
-- (void)onProxyConnected:(NSString *)sdnId status:(int)status {
-    
-    
-    if (status == 0) {
-        
-        /// 4. 创建 HttpService
-        self.tcpPort = [RaylinkProxy.sharedManager createHttpService:sdnId];
-        self.tcpPortStr = [[NSString alloc] initWithFormat:@"%ld",self.tcpPort];
-        [[netWorkManager shareInstance] setAFHTTPSessionManagerFunBy:self.tcpPort];
-        /// 5. 添加端口防火墙
-        [RaylinkProxy.sharedManager addSdnId:sdnId ip:ruiyunlinkIp allowPort:9300];
-        [RaylinkProxy.sharedManager addSdnId:sdnId ip:ruiyunlinkIp allowPort:9100];
-        [RaylinkProxy.sharedManager addSdnId:sdnId ip:ruiyunlinkIp allowPort:9888];
-        [cachesFileManager writeLogsWithMsg:@"onProxyConnected connectToHost"];
-        
-        /// 6. 等待连接成功回调,创建 TCP socket 连接 HttpService 的端口
-//         NSError *error;
-//
-//        NSString*log1 =  [[NSString alloc] initWithFormat:@"onProxyConnected connectToHost begin %ld", (long)self.tcpPort];
-//        [cachesFileManager writeLogsWithMsg:log1];
-//
-//        [self.socket connectToHost:@"127.0.0.1" onPort:self.tcpPort error:&error];
-//
-//        NSString*log2 =  [[NSString alloc] initWithFormat:@"onProxyConnected connectToHost end %ld, self.socket = %@ error = %@", (long)self.tcpPort, self.socket, error];
-//        [cachesFileManager writeLogsWithMsg:log2];
-        
-        _curConnectDeviceState = DeviceConnectDeciceOk;
-        _Pre_sdnId = self.DeviceThirdIdMod.data.sdnId;
-        
-        disconnected_cb_type = NO;
-    
-        didRuiyunLinkType = YES;
-        [self beginLinkWebSocketFun];
-    } else {
-        
-        HLog(@"瑞云链接断开");
-    }
-}
-
-- (void)OnProxyDisconnected_cb:(NSString *)sdnId {
-    //[RaylinkProxy.sharedManager closeHttpService:sdnId];
-    [cachesFileManager writeLogsWithMsg:@"OnProxyDisconnected_cb"];
-    disconnected_cb_type = YES;
-}
-
-//瑞云sock 断开了 需要重连
-- (void)tryReconnectFun{
-    
-    [cachesFileManager writeLogsWithMsg:@"tryReconnect"];
-    
-    [cachesFileManager writeLogsWithMsg:@"click again try Net Work"];
-    
-    [self getThridMsgBySN:self.DeviceThirdIdMod.data.changeSn needReconnect:NO didNetEnd:^(NSInteger didSuc) {
-        
-        NSString *tip = [[NSString alloc] initWithFormat:@"Net Work state:%ld",didSuc];
-        [cachesFileManager writeLogsWithMsg:tip];
-    }];
-    
-    if(!disconnected_cb_type){
-        [cachesFileManager writeLogsWithMsg:@"tryReconnect return"];
-        return;
-    }
-    
-    NSURL *logUrl = [[NSFileManager.defaultManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask].firstObject URLByAppendingPathComponent:@"logs"];
-    
-    if (![NSFileManager.defaultManager fileExistsAtPath:logUrl.path]) {
-        [NSFileManager.defaultManager createDirectoryAtURL:logUrl withIntermediateDirectories:YES attributes:NULL error:NULL];
-    }
-    
-//    dispatch_queue_t reinitProxyQueue = dispatch_queue_create("reinit_proxy", 0);
-//
-//
-//    [cachesFileManager writeLogsWithMsg:@"tryReconnect initProxy 0"];
-//    dispatch_async(reinitProxyQueue, ^{
-//        NSData *sdnInfo = [NSData dataWithContentsOfURL:[[NSBundle.mainBundle bundleURL] URLByAppendingPathComponent:@"planet.1ali_3ry_peer"]];
-//
-//        /// 1. 初始化代理库
-//        [cachesFileManager writeLogsWithMsg:@"tryReconnect initProxy 1"];
-//        self->disconnected_cb_type = NO;
-//        self->_isReInitType = YES;
-//        [RaylinkProxy.sharedManager initProxy:logUrl.path rootSdnInfo:sdnInfo];
-//        self->_isReInitType = NO;
-//        [cachesFileManager writeLogsWithMsg:@"tryReconnect initProxy 2"];
-//    });
-    
-//    //KWeakSelf
-//    NSMutableDictionary *paraDict = [NSMutableDictionary new];
-//    if(self.DeviceThirdIdMod.data.sn){
-//        [paraDict setValue:self.DeviceThirdIdMod.data.sn forKey:@"sn"];
-//    }
-//
-//    [cachesFileManager writeLogsWithMsg:@"tryReconnect CommonGetWithCallBackCode"];
-//    [[netWorkManager shareInstance] CommonGetWithCallBackCode:getThirdIdBySn Parameters:paraDict success:^(id  _Nonnull responseObject) {
-//
-//        dispatch_async(self->initProxyQueue, ^{
-//            NSData *sdnInfo = [NSData dataWithContentsOfURL:[[NSBundle.mainBundle bundleURL] URLByAppendingPathComponent:@"planet.1ali_3ry_peer"]];
-//
-//            /// 1. 初始化代理库
-//            [RaylinkProxy.sharedManager initProxy:logUrl.path rootSdnInfo:sdnInfo];
-//            [cachesFileManager writeLogsWithMsg:@"tryReconnect initProxy"];
-//        });
-//
-//
-//    } failure:^(NSError * _Nonnull error) {
-//        HLog("网络报错");
-//    }];
-    
-}
-
-//音视频 链接返回-5的时候调用
-- (void)recreateHttpServiceFun{
-    [cachesFileManager writeLogsWithMsg:@"recreateHttpServiceFun"];
-    NSString *sdnId = self.DeviceThirdIdMod.data.sdnId;
-    self.tcpPort = [RaylinkProxy.sharedManager createHttpService:sdnId];
-    self.tcpPortStr = [[NSString alloc] initWithFormat:@"%ld",self.tcpPort];
-    [[netWorkManager shareInstance] setAFHTTPSessionManagerFunBy:self.tcpPort];
-    [RaylinkProxy.sharedManager addSdnId:sdnId ip:ruiyunlinkIp allowPort:9300];
-    [RaylinkProxy.sharedManager addSdnId:sdnId ip:ruiyunlinkIp allowPort:9100];
-    [RaylinkProxy.sharedManager addSdnId:sdnId ip:ruiyunlinkIp allowPort:9888];
-}
-
-//- (void)socket:(GCDAsyncSocket *)sock didConnectToHost:(NSString *)host port:(uint16_t)port {
-//
-//    NSLog(@"didConnectToHost %d", port);
-//
-//    NSThread *thread = [[NSThread alloc] initWithBlock:^{
-//        while (true) {
-//
-//            [self.socket readDataWithTimeout:-1 tag:0];
-//            [NSThread sleepForTimeInterval:0.1];
-//
-//        }
-//    }];
-//
-//    [thread start];
-//
-//    /// 7. Socket 连接成功后,通过 socket  发送, self.peerPortTF 为对端服务端口
-//    //[sock writeData:[[NSString stringWithFormat:@"CONNECT 127.0.0.1:%@ HTTP/1.0\r\n\r\n", @"9100"] dataUsingEncoding:NSUTF8StringEncoding] withTimeout:-1 tag:0];
-//
-//    NSLog(@"readDataToData");
-//
-//    [cachesFileManager writeLogsWithMsg:@"didConnectToHost writeData"];
-//}
-//
-//- (void)socket:(GCDAsyncSocket *)sock didWriteDataWithTag:(long)tag
-//{
-//    NSLog(@"socket:%p didWriteDataWithTag:%ld", sock, tag);
-//}
-//
-//- (void)socket:(GCDAsyncSocket *)sock didReadData:(NSData *)data withTag:(long)tag {
-//
-//
-//    if (tag == 0) {
-//
-//        NSString *str = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
-//
-//        /// 8. 收到包含 `HTTP/1.0 200`的字符串,则认为连接成功。可以正常给对端发消息了
-//        if ([str containsString:@"HTTP/1.0 200"]) {
-//            NSLog(@"Connected");
-//            self.peerConnected = YES;
-////            self.connectBtn.enabled = YES;
-////            [self.connectBtn setTitle:@"断开连接" forState:UIControlStateNormal];
-//        }
-//
-//    }
-//
-//    //self.revcLab.text = [NSString stringWithFormat:@"接收:%@", [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]];
-//}
-
-
-
-
-#pragma mark 保持卡密码
--(void)updateCardInfoBySN:(NSString*)snStr withPwdStr:(NSString*)pwd didNetEnd:(netWork_DidEndByOK)didNetEndIsOK
-{
-    
-    NSMutableDictionary *paraDict = [NSMutableDictionary new];
-    [paraDict setValue:snStr forKey:@"sn"];
-    
-    NSString* enPwdStr = [RSATool AES128Encrypt:pwd key:AESCODEKEEYY];
-    if(enPwdStr){
-        [paraDict setValue:enPwdStr forKey:@"password"];
-    }
-    
-    //KWeakSelf
-    [[netWorkManager shareInstance] CommonPostCallBackCode:updateCardInfo Parameters:paraDict success:^(id  _Nonnull responseObject) {
-        
-        
-        SuperModel*model = [[SuperModel alloc] initWithDictionary:responseObject error:nil];
-
-        if(model && model.status == 0)
-        {
-            didNetEndIsOK(YES);
-            
-            ksharedAppDelegate.DeviceThirdIdMod.data.password = enPwdStr;
-            /*密码保持在本地*/
-            NSDictionary *deviceDict = [HWDataManager getObjectWithKey:Const_Have_Add_Device];
-            NSMutableDictionary *dict = [[NSMutableDictionary alloc] initWithDictionary:deviceDict];
-            [dict setObject:pwd forKey:Const_Have_Add_Device_PWD];
-            [HWDataManager setObjectWithKey:Const_Have_Add_Device value:dict];
-            
-        }
-        else{
-            didNetEndIsOK(NO);
-        }
-        
-        
-    } failure:^(NSError * _Nonnull error) {
-        HLog("网络报错");
-        didNetEndIsOK(NO);
-    }];
-}
-
-#pragma mark ---ping-----站点 判断是否是局域网
-- (void)startPingDeviceIp:(NSString *)roomInternetIp
-{
-    //roomInternetIp = @"www.baidu.com";
-    if(!roomInternetIp || roomInternetIp.length < 7){
-        self.isPingOk = NO;
-        return;
-    }
-    
-    if (self->whPingTester)
-    {
-        [self->whPingTester stopPing];
-        self->whPingTester = nil;
-    }
-    
-    self->whPingTester = [[WHPingTester alloc] initWithHostName:roomInternetIp];
-    self->whPingTester.delegate = self;
-    //self->whPingTester.countdownTime = 1; //1秒ping一次
-    [self->whPingTester startPing];
-    
-    
-    /// 启动定时器监听 10秒后 whPingTester的状态
-    KWeakSelf
-    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-        if(self->whPingTester){
-            [weakSelf didGetPingStateIsOK:NO];
-        }
-    });
-    
-}
-
-#pragma mark ---ping---- 代理回调
-- (void) didPingSucccessWithTime:(float)time withError:(NSError*) error
-{
-    HLog(@"time:%f \n error: %@",time,error)
-    
-    //if(error.code == 111 || time > 1000) //超时或者延时超过100ms,就要记录数据
-    if(error != nil)
-    {
-        [self didGetPingStateIsOK:NO];
-    }
-    else if(time > 0){
-        [self didGetPingStateIsOK:YES];
-        //test code
-        //[self didGetPingStateIsOK:NO];
-    }
-    
-}
-
-- (void) didPingfialewithError:(NSError*)error
-{
-    HLog(@" error  error: %@",error)
-    [self didGetPingStateIsOK:NO];
-}
-
--(void)didGetPingStateIsOK:(BOOL)isOk
-{
-    self.isPingOk = isOk;
-    [self->whPingTester stopPing];
-    self->whPingTester = nil;
-    
-    didPingType = YES;
-    
-    [self beginLinkWebSocketFun];
-}
-
-- (void)beginLinkWebSocketFun
-{
-    if(!didPingType){
-        return;
-    }
-    
-    //局域网不通 瑞云还没连接好
-    if(!self.isPingOk && !didRuiyunLinkType){
-        return;
-    }
-
-    //切换设备
-    if([webSocketManager shareInstance].commandChannelManager){
-        
-//        [[webSocketManager shareInstance].commandChannelManager rc_close];
-//        [webSocketManager shareInstance].commandChannelManager = nil;
-        ksharedAppDelegate.isWebSockLinkOKAginType = NO;
-        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0 * NSEC_PER_SEC)), dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
-            if([connectDeviceManager shareInstance].isFirstInputPwdDone){
-                [[webSocketManager shareInstance] opencommandChannelManagerrc_openURL];
-            }
-        });
-    }
-    else{//第一次启动
-        if([connectDeviceManager shareInstance].isFirstInputPwdDone){
-            [[webSocketManager shareInstance] opencommandChannelManagerrc_openURL];
-        }
-    }
-            
-    
-}
-@end

BIN
创维盒子/双子星云手机/connectDeviceManager/planet.1ali_3ry_peer


+ 0 - 1
创维盒子/双子星云手机/netWork/addLog/addLogObject.m

@@ -7,7 +7,6 @@
 
 #import "addLogObject.h"
 #import "netWorkManager.h"
-#import "connectDeviceManager.h"
 #import "fileUploadToFileCenterModel.h"
 
 @implementation addLogObject

+ 0 - 0
创维盒子/双子星云手机/netWork/netWorkManager.h


Some files were not shown because too many files changed in this diff