Skip to content

Commit

Permalink
修复 videopodspec 配置验证不过
Browse files Browse the repository at this point in the history
Change-Id: Ide4b06e8199181bee4109b91c6fa020fbd276a56
  • Loading branch information
tonychanchen committed Sep 7, 2021
1 parent d52bbb2 commit 0467192
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 28 deletions.
6 changes: 3 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ target 'LinkApp' do
pod 'Tencent-MapSDK', '4.3.9'
pod 'lottie-ios', '3.1.8'
pod 'CocoaAsyncSocket', '7.6.5'
pod 'TIoTLinkThirdPartyKit/TPNS-iOS', '2.3.0-beta.202108181025'
pod 'TIoTLinkThirdPartyKit/WechatOpenSDK_NoPay', '2.3.0-beta.202108181025'
pod 'TIoTLinkThirdPartyKit/TPNS-iOS', '2.3.0-beta.202109070341'
pod 'TIoTLinkThirdPartyKit/WechatOpenSDK_NoPay', '2.3.0-beta.202109070341'
end


Expand All @@ -42,5 +42,5 @@ target 'LinkSDKDemo' do
pod 'TIoTLinkKit/LinkRTC', :path => './'

pod 'TIoTLinkVideo', :path => './'
pod 'TIoTLinkThirdPartyKit/IJKPlayer-iOS', '2.3.0-beta.202108181025'
pod 'TIoTLinkThirdPartyKit/IJKPlayer-iOS', '2.3.0-beta.202109070341'
end
28 changes: 14 additions & 14 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ PODS:
- TIoTLinkKit/LinkCore
- TXLiteAVSDK_TRTC (= 8.0.9644)
- YYModel (= 1.0.4)
- TIoTLinkThirdPartyKit/Faac-iOS (2.2.1)
- TIoTLinkThirdPartyKit/IJKPlayer-iOS (2.2.1)
- TIoTLinkThirdPartyKit/TPNS-iOS (2.2.1)
- TIoTLinkThirdPartyKit/WechatOpenSDK_NoPay (2.2.1)
- TIoTLinkThirdPartyKit/XP2P-iOS (2.2.1)
- TIoTLinkThirdPartyKit/Faac-iOS (2.3.0-beta.202109070341)
- TIoTLinkThirdPartyKit/IJKPlayer-iOS (2.3.0-beta.202109070341)
- TIoTLinkThirdPartyKit/TPNS-iOS (2.3.0-beta.202109070341)
- TIoTLinkThirdPartyKit/WechatOpenSDK_NoPay (2.3.0-beta.202109070341)
- TIoTLinkThirdPartyKit/XP2P-iOS (2.3.0-beta.202109070341)
- TIoTLinkVideo (1.0.0):
- TIoTLinkKit/LinkCore
- TIoTLinkThirdPartyKit/Faac-iOS (= 2.2.1)
- TIoTLinkThirdPartyKit/XP2P-iOS (= 2.2.1)
- CocoaLumberjack (= 3.7.2)
- TIoTLinkThirdPartyKit/Faac-iOS (= 2.3.0-beta.202109070341)
- TIoTLinkThirdPartyKit/XP2P-iOS (= 2.3.0-beta.202109070341)
- TrueTime (5.0.3)
- TXLiteAVSDK_TRTC (8.0.9644)
- TZImagePickerController (3.2.1)
Expand All @@ -166,9 +166,9 @@ DEPENDENCIES:
- Tencent-MapSDK (= 4.3.9)
- TIoTLinkKit (from `./`)
- TIoTLinkKit/LinkRTC (from `./`)
- TIoTLinkThirdPartyKit/IJKPlayer-iOS (= 2.2.1)
- TIoTLinkThirdPartyKit/TPNS-iOS (= 2.2.1)
- TIoTLinkThirdPartyKit/WechatOpenSDK_NoPay (= 2.2.1)
- TIoTLinkThirdPartyKit/IJKPlayer-iOS (= 2.3.0-beta.202109070341)
- TIoTLinkThirdPartyKit/TPNS-iOS (= 2.3.0-beta.202109070341)
- TIoTLinkThirdPartyKit/WechatOpenSDK_NoPay (= 2.3.0-beta.202109070341)
- TIoTLinkVideo (from `./`)
- TrueTime (= 5.0.3)
- TZImagePickerController (= 3.2.1)
Expand Down Expand Up @@ -254,13 +254,13 @@ SPEC CHECKSUMS:
SocketRocket: d57c7159b83c3c6655745cd15302aa24b6bae531
Tencent-MapSDK: 6dfbee53b46131deb4c4bb02b3edc5ce7fb630dc
TIoTLinkKit: 0386fb583c61765a02ad5cca810c7661d5a0bc53
TIoTLinkThirdPartyKit: 097ce7631d6bb13bcb90a0319d4ac5ca360ee012
TIoTLinkVideo: d365616048dc08dfd328b1843fd94e908d5d7eb4
TIoTLinkThirdPartyKit: 02caa215396aa70d445f2b15e5b093c467d0597c
TIoTLinkVideo: aa33a0a2f3e35916620a7a5efdbfaf6ae0985987
TrueTime: b49551ffafb28a9dee04e51b226f42a416010842
TXLiteAVSDK_TRTC: e3383a81565e8bb2aaaaab4bd099ad5239cd5b2d
TZImagePickerController: bf4c57b98d8707fce41ea6be872414a71c7a8c9d
YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30

PODFILE CHECKSUM: 8904238fa33d41146afc884a8765b86bcb28f16f
PODFILE CHECKSUM: d1a660977e2068eac313ad6489e9fcda725cbf8d

COCOAPODS: 1.9.3
15 changes: 7 additions & 8 deletions Source/SDK/LinkVideo/TIoTCoreXP2PBridge.mm
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@
#include <string.h>
#include "AppWrapper.h"
#import "AWSystemAVCapture.h"
//#import "TIoTCoreAppEnvironment.h"
#import "TIoTCoreWMacros.h"
#import <CocoaLumberjack/CocoaLumberjack.h>

#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
#else
static const DDLogLevel ddLogLevel = DDLogLevelOff;
#endif

const char* XP2PMsgHandle(const char *idd, XP2PType type, const char* msg) {
if (idd == nullptr) {
Expand Down Expand Up @@ -38,12 +43,6 @@
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
NSString *DeviceName = [NSString stringWithUTF8String:idd];
[[NSNotificationCenter defaultCenter] postNotificationName:@"xp2disconnect" object:nil userInfo:@{@"id": DeviceName}];
// [[TIoTCoreXP2PBridge sharedInstance] stopService: DeviceName];
//
// [[TIoTCoreXP2PBridge sharedInstance] startAppWith:[TIoTCoreAppEnvironment shareEnvironment].cloudSecretId
// sec_key:[TIoTCoreAppEnvironment shareEnvironment].cloudSecretKey
// pro_id:[TIoTCoreAppEnvironment shareEnvironment].cloudProductId
// dev_name:DeviceName];

});
}else if (type == XP2PTypeDetectReady) {
Expand Down
6 changes: 3 additions & 3 deletions TIoTLinkVideo.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Pod::Spec.new do |s|
s.static_framework = true

s.source_files = 'Source/SDK/LinkVideo/**/*.{h,m,c,mm}'
s.dependency 'TIoTLinkThirdPartyKit/XP2P-iOS', '2.3.0-beta.202108181025'
s.dependency 'TIoTLinkThirdPartyKit/Faac-iOS', '2.3.0-beta.202108181025'
s.dependency 'TIoTLinkKit/LinkCore'
s.dependency 'TIoTLinkThirdPartyKit/XP2P-iOS', '2.3.0-beta.202109070341'
s.dependency 'TIoTLinkThirdPartyKit/Faac-iOS', '2.3.0-beta.202109070341'
s.dependency 'CocoaLumberjack', '3.7.2'
s.pod_target_xcconfig = {
'VALID_ARCHS' => 'arm64'
}
Expand Down

0 comments on commit 0467192

Please sign in to comment.