Przeglądaj źródła

1. 同步闪退bug

huangxiaodong 1 rok temu
rodzic
commit
0dcac6855f
27 zmienionych plików z 1093 dodań i 1050 usunięć
  1. 2 2
      创维盒子/双子星云手机.xcodeproj/project.pbxproj
  2. 3 1
      创维盒子/双子星云手机/AppDelegate/AppDelegate.m
  3. 5 1
      创维盒子/双子星云手机/AppDelegate/SceneDelegate.m
  4. 1 0
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AppDelegate.h
  5. 22 0
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController+AppDelegate.m
  6. 1 0
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController.h
  7. 19 6
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController.mm
  8. 154 154
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/BYWebSocket.h
  9. 23 23
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAacToPcmDecoder.h
  10. 14 14
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAudioPlayer.h
  11. 31 31
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCAudioRecoderMamager.h
  12. 21 21
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCloudPhoneSDK.h
  13. 13 13
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCommandChannel.h
  14. 29 29
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCCommandChannelManager.h
  15. 17 17
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCH264HWDecoder.h
  16. 22 22
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCH265HWDecoder.h
  17. 15 15
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCHWDecode.h
  18. 165 165
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCLiveSteamManager.h
  19. 58 58
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCMAACPlayer.h
  20. 26 26
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCPCMPlayer.h
  21. 16 16
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCRecordManager.h
  22. 40 40
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSaveToH264FileTool.h
  23. 43 43
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSaveToH265FileTool.h
  24. 129 129
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCSocketManagerForCloudPhone.h
  25. 34 34
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCVideoRecoderManager.h
  26. 63 63
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/Headers/RCYUVEncoder.h
  27. 127 127
      创维盒子/双子星云手机/CloudPlayer/RCCloudPhoneSDK.framework/LICENSE

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

@@ -2552,7 +2552,7 @@
 					"$(PROJECT_DIR)/双子星云手机/Vendor/UDP/RayProxy",
 					"$(PROJECT_DIR)/RayProxy",
 				);
-				MARKETING_VERSION = 1.2.3.1;
+				MARKETING_VERSION = 1.2.4.1;
 				PRODUCT_BUNDLE_IDENTIFIER = com.armcloud.privacy.x.box;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				PROVISIONING_PROFILE_SPECIFIER = "";
@@ -2631,7 +2631,7 @@
 					"$(PROJECT_DIR)/双子星云手机/Vendor/UDP/RayProxy",
 					"$(PROJECT_DIR)/RayProxy",
 				);
-				MARKETING_VERSION = 1.2.3.1;
+				MARKETING_VERSION = 1.2.4.1;
 				PRODUCT_BUNDLE_IDENTIFIER = com.armcloud.privacy.x.box;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				PROVISIONING_PROFILE_SPECIFIER = "";

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

@@ -88,9 +88,11 @@
     [AudioSessionObject shareManager];
     [self MonitorNetworkChangesFun];
     
+#ifdef DEBUG
     [[PLeakSniffer sharedInstance] installLeakSniffer];
-    
+#else
     [Bugly startWithAppId:@"179559a521"];
+#endif
     
     return YES;
 }

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

@@ -201,7 +201,7 @@
     }
     
     if(_curPlayerVC){
-        [_curPlayerVC disconnectVideoServer];
+        //[_curPlayerVC disconnectVideoServer];
         
         _curPlayerVC.isNeedRecyclResource = YES;
         [_curPlayerVC recyclResource];
@@ -669,6 +669,10 @@
 {
     if(_preRootPlayerNav)
     {
+        NSArray *vcArr = _preRootPlayerNav.viewControllers;
+        if(vcArr.count > 2){
+            [_preRootPlayerNav popToViewController:vcArr[1] animated:NO];
+        }
         self.window.rootViewController = _preRootPlayerNav;
     }
     else{

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

@@ -17,6 +17,7 @@ NS_ASSUME_NONNULL_BEGIN
 }
 @property NSString *nowSSid;
 
+- (void)updateCopydata;
 @end
 
 NS_ASSUME_NONNULL_END

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

@@ -12,6 +12,7 @@
 #import <RCCloudPhoneSDK/RCAudioPlayer.h>
 #import "ShortcutManager.h"
 #import <objc/runtime.h>
+#import "RCCommandHelp.h"
 
 @interface PlayerViewController(AppDelegate)
 
@@ -95,6 +96,7 @@
     
     
     [self setShowImgAndVoiceTypeFun:YES];
+    [self updateCopydata];
 }
 
 - (void)applicationWillTerminate:(UIApplication *)application {
@@ -125,4 +127,24 @@
         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)
+    {
+        /*发送数据*/
+        NSString *dataStr = [RCCommandHelp commandCuttingWithContent:str];
+        [self.commandChannelManager rc_sendData:dataStr];
+        //pasteboard.string = @"";
+    }
+    
+}
 @end

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

@@ -84,6 +84,7 @@
 
 /**页面跳转-需不需要回收资源*/
 @property (nonatomic, assign) BOOL               isNeedRecyclResource;
+@property (nonatomic, assign) BOOL               didRecyclResource;
 /**音视频是否连接成功*/
 @property (nonatomic, assign) BOOL               isConnectSuccess;
 

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

@@ -182,6 +182,7 @@ ComontAlretViewControllerDelegate>
     ipConnect   = self->ip;
     
     isLan = NO;
+    _didRecyclResource = NO;
     
     globalBlock(^{
         // 初始化成功后连接
@@ -342,10 +343,21 @@ ComontAlretViewControllerDelegate>
     
     // 播放器内部页面跳转-不能回收的资源
     if (self.isNeedRecyclResource) {
+        
+        self.didRecyclResource = YES;
+        
         // 屏幕常亮
         [UIApplication sharedApplication].idleTimerDisabled = NO;
         [[UIApplication sharedApplication] setStatusBarHidden:NO];
         
+        //清空WebSocket连接
+        [self.commandChannelManager rc_close];
+        [self.businessCommandChannelManager rc_close];
+        
+        //globalBlock(^{
+            [self.liveStreamManager rc_release];
+        //});
+        
         if (USEAAC)
         {
             if (aacPlayer)
@@ -370,13 +382,7 @@ ComontAlretViewControllerDelegate>
 
         [self removeNSNotification];
         
-        //清空WebSocket连接
-        [self.commandChannelManager rc_close];
-        [self.businessCommandChannelManager rc_close];
         
-        globalBlock(^{
-            [self.liveStreamManager rc_release];
-        });
         
         if(forceStartTimer){
             [forceStartTimer invalidate];
@@ -1373,6 +1379,11 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
 
 // 连接
 - (void)connectVideoServer {
+    
+    if(self.didRecyclResource){
+        return;
+    }
+    
     if (!mySelf || haveBack || !ip || !internetVideoPort){
         return;
     }
@@ -1628,6 +1639,8 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
     
     [self fristConnectNeedGiveAMsgFun];
     
+    [self updateCopydata];
+    
     //  报链接失败 后面又连接上了
     if(linkFailAlretVC && linkFailAlretVC.view.tag == 2){
         mainBlock(^{

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

@@ -1,154 +1,154 @@
-//
-//   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
+//
+//   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

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

@@ -1,23 +1,23 @@
-//
-//  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
-
+//
+//  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
+

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

@@ -1,14 +1,14 @@
-//
-//  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 */
+//
+//  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 */

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

@@ -1,31 +1,31 @@
-//
-//  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
+//
+//  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

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

@@ -1,21 +1,21 @@
-//
-//  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>
+//
+//  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>

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

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

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

@@ -1,29 +1,29 @@
-//
-//  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
+//
+//  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

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

@@ -1,17 +1,17 @@
-//
-//  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
+//
+//  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

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

@@ -1,22 +1,22 @@
-//
-//  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
+//
+//  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

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

@@ -1,15 +1,15 @@
-//
-//  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 */
+//
+//  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 */

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

@@ -1,165 +1,165 @@
-//
-//  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
+//
+//  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

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

@@ -1,58 +1,58 @@
-//
-//  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
+//
+//  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

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

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

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

@@ -1,16 +1,16 @@
-//
-//  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 */
+//
+//  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 */

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

@@ -1,40 +1,40 @@
-//
-//  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
+//
+//  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

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

@@ -1,43 +1,43 @@
-//
-//  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
+//
+//  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

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

@@ -1,129 +1,129 @@
-/*
- *
- */
-
-#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
+/*
+ *
+ */
+
+#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

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

@@ -1,34 +1,34 @@
-//
-//  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
+//
+//  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

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

@@ -1,63 +1,63 @@
-//
-//  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
+//
+//  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

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

@@ -1,127 +1,127 @@
-
-  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.]
- */
-
+
+  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.]
+ */
+