Skip to content

Commit 3af17d2

Browse files
author
eagleychen
committed
update p2pcore
1 parent 83c0d80 commit 3af17d2

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ PODS:
3535
- TIoTLinkKit_SoundTouch (1.0.0)
3636
- TIoTLinkKit_TPNS (1.0.1)
3737
- TIoTLinkKit_WechatOpenSDK (1.0.1)
38-
- TIoTLinkKit_XP2P (2.4.49-beta.202404030347)
38+
- TIoTLinkKit_XP2P (2.4.48)
3939
- TIoTLinkVideo (1.0.0):
4040
- CocoaAsyncSocket (= 7.6.5)
4141
- TIoTLinkKit_FLV (= 2.2.3)
4242
- TIoTLinkKit_GVoiceSE (>= 1.0.7)
4343
- TIoTLinkKit_SoundTouch (= 1.0.0)
44-
- TIoTLinkKit_XP2P (= 2.4.49-beta.202404030347)
44+
- TIoTLinkKit_XP2P (= 2.4.48)
4545
- TPCircularBuffer (= 1.6.1)
4646
- TPCircularBuffer (1.6.1)
4747
- TrueTime (5.0.3)
@@ -133,8 +133,8 @@ SPEC CHECKSUMS:
133133
TIoTLinkKit_SoundTouch: cf79ae182b6c2349ff65bac7a338974bc538fa77
134134
TIoTLinkKit_TPNS: 7cea4fc1d20ef6c4c11c4f0b66bbb10ecf4ed968
135135
TIoTLinkKit_WechatOpenSDK: 7822d68cc5c46edf3f6020422202e7b65ea87614
136-
TIoTLinkKit_XP2P: 16fd829843f131d04cb5818876a9781a0ce8c0eb
137-
TIoTLinkVideo: 5ff6119d41629f738ed55dafa3cd6409d6ba07d4
136+
TIoTLinkKit_XP2P: a0ca1277281c89eb2168aac08886d6e8a10b5fca
137+
TIoTLinkVideo: 85a49e8716f9ba7108a9d6d44c3e0d4d885ffa03
138138
TPCircularBuffer: c13243556527551c4d320709c7b14a6d20cdc30a
139139
TrueTime: b49551ffafb28a9dee04e51b226f42a416010842
140140
TXLiteAVSDK_TRTC: e3383a81565e8bb2aaaaab4bd099ad5239cd5b2d

Source/SDK/LinkVideo/TIoTCoreXP2PBridge.mm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ - (XP2PErrCode)startAppWith:(NSString *)pro_id dev_name:(NSString *)dev_name typ
236236
// setStunServerToXp2p("11.11.11.11", 111);
237237
// setLogEnable(false, false);
238238

239-
NSString *nsstr_user_id = [self getAppUUID];
240-
setContentDetail([self dicConvertString:@{@"good":@"morning", @"str_user_id":nsstr_user_id }],
241-
[self dicConvertString:@{@"better": @"afternnn"}]);
242-
[self stopReport];
243-
_reportTimer = [NSTimer scheduledTimerWithTimeInterval:60 target:self selector:@selector(doTick) userInfo:nil repeats:YES];
239+
// NSString *nsstr_user_id = [self getAppUUID];
240+
// setContentDetail([self dicConvertString:@{@"good":@"morning", @"str_user_id":nsstr_user_id }],
241+
// [self dicConvertString:@{@"better": @"afternnn"}]);
242+
// [self stopReport];
243+
// _reportTimer = [NSTimer scheduledTimerWithTimeInterval:60 target:self selector:@selector(doTick) userInfo:nil repeats:YES];
244244

245245
NSString *fileName = @"stun.txt";
246246
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
@@ -600,7 +600,7 @@ - (NSString *)readKeychainValue:(NSString *)sKey
600600
return ret;
601601
}
602602

603-
- (void)doTick {
603+
- (void)doTick {/*
604604
data_report_t tmpcontent = getContentData();
605605
printf("wwwwww===%s\n",tmpcontent.report_buf);
606606
NSData *body = [NSData dataWithBytes:tmpcontent.report_buf length:tmpcontent.report_size];
@@ -618,7 +618,7 @@ - (void)doTick {
618618
NSLog(@"log event: %@",response);
619619
}
620620
}];
621-
[task resume];
621+
[task resume];*/
622622
}
623623

624624
+ (NSString *)getSDKVersion {

TIoTLinkVideo.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
1919
s.source_files = 'Source/SDK/LinkVideo/**/*.{h,m,c,mm}'
2020
s.resource = 'Source/SDK/LinkVideo/FLV/asset/GvoiceSE_v1_239-119-oneref-e.nn'
2121

22-
s.dependency 'TIoTLinkKit_XP2P', '2.4.49-beta.202404030347'
22+
s.dependency 'TIoTLinkKit_XP2P', '2.4.48'
2323
s.dependency 'TIoTLinkKit_FLV', '2.2.3'
2424
s.dependency 'CocoaAsyncSocket', '7.6.5'
2525
s.dependency 'TIoTLinkKit_SoundTouch', '1.0.0'

0 commit comments

Comments
 (0)