Skip to content

Commit

Permalink
添加ops字段
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleychen committed Oct 31, 2024
1 parent c818e82 commit 38e057b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ PODS:
- TIoTLinkKit_SoundTouch (1.0.0)
- TIoTLinkKit_TPNS (1.0.1)
- TIoTLinkKit_WechatOpenSDK (1.0.1)
- TIoTLinkKit_XP2P (2.4.50)
- TIoTLinkKit_XP2P (2.4.52-beta.202410310732)
- TIoTLinkVideo (1.0.0):
- CocoaAsyncSocket (= 7.6.5)
- TIoTLinkKit_FLV (= 2.2.3)
- TIoTLinkKit_GVoiceSE (>= 1.0.9)
- TIoTLinkKit_SoundTouch (= 1.0.0)
- TIoTLinkKit_XP2P (>= 2.4.50)
- TIoTLinkKit_XP2P (= 2.4.52-beta.202410310732)
- TPCircularBuffer (= 1.6.1)
- TPCircularBuffer (1.6.1)
- TrueTime (5.0.3)
Expand Down Expand Up @@ -133,8 +133,8 @@ SPEC CHECKSUMS:
TIoTLinkKit_SoundTouch: cf79ae182b6c2349ff65bac7a338974bc538fa77
TIoTLinkKit_TPNS: 7cea4fc1d20ef6c4c11c4f0b66bbb10ecf4ed968
TIoTLinkKit_WechatOpenSDK: 7822d68cc5c46edf3f6020422202e7b65ea87614
TIoTLinkKit_XP2P: 09cf04f548dea28921bbf39a8d121944bf59660a
TIoTLinkVideo: 924ee5074a071d4ae20166fe16e9607fd24a5500
TIoTLinkKit_XP2P: 6aa0681277844c2abbb5e79c20f7015fd5d77548
TIoTLinkVideo: a6707e1a88577f0f7804935cd1c66be22351b801
TPCircularBuffer: c13243556527551c4d320709c7b14a6d20cdc30a
TrueTime: b49551ffafb28a9dee04e51b226f42a416010842
TXLiteAVSDK_TRTC: e3383a81565e8bb2aaaaab4bd099ad5239cd5b2d
Expand Down
11 changes: 10 additions & 1 deletion Source/SDK/LinkVideo/TIoTCoreXP2PBridge.mm
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,14 @@ - (void)reportUserList:(data_report_t)report {
NSString *reqid = [NSString stringWithCString:(const char *)report.uniqueId encoding:NSASCIIStringEncoding];
NSString *status = [NSString stringWithCString:(const char *)report.status encoding:NSASCIIStringEncoding];
NSString *dataaction = [NSString stringWithCString:(const char *)report.data_action encoding:NSASCIIStringEncoding];

NSString *appPeerName = @"";
if (report.appPeerName != NULL) {
appPeerName = [NSString stringWithCString:(const char *)report.appPeerName encoding:NSASCIIStringEncoding];
}
NSString *deviceP2PInfo = @"";
if (report.deviceP2PInfo != NULL) {
deviceP2PInfo = [NSString stringWithCString:(const char *)report.deviceP2PInfo encoding:NSASCIIStringEncoding];
}
if ([status isEqualToString:@"start"]) {
[self.uniReqStartTime setObject:[TIoTCoreXP2PBridge getNowTimeTimestamp] forKey:reqid];
}
Expand All @@ -762,6 +769,8 @@ - (void)reportUserList:(data_report_t)report {
[accessParam setValue:@([[TIoTCoreXP2PBridge getNowTimeTimestamp] integerValue]) forKey:@"Time"];
[accessParam setValue:@"ios" forKey:@"System"];
[accessParam setValue:@"app" forKey:@"Platform"];
[accessParam setValue:appPeerName forKey:@"AppPeerName"];
[accessParam setValue:deviceP2PInfo forKey:@"DeviceP2PInfo"];
[accessParam setValue:[self getAppUUID] forKey:@"Uuid"];
[accessParam setValue:[self getAppUUID] forKey:@"UserId"];
[accessParam setValue:self.pro_id forKey:@"ProductId"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<EnvironmentVariable
key = "OS_ACTIVITY_MODE"
value = "disable"
isEnabled = "NO">
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
</LaunchAction>
Expand Down
2 changes: 1 addition & 1 deletion TIoTLinkVideo.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.source_files = 'Source/SDK/LinkVideo/**/*.{h,m,c,mm}'
s.resource = 'Source/SDK/LinkVideo/FLV/asset/GvoiceSE_v1_239-119-oneref-e.nn'

s.dependency 'TIoTLinkKit_XP2P', '>= 2.4.50'
s.dependency 'TIoTLinkKit_XP2P', '2.4.52-beta.202410310732'
s.dependency 'TIoTLinkKit_FLV', '2.2.3'
s.dependency 'CocoaAsyncSocket', '7.6.5'
s.dependency 'TIoTLinkKit_SoundTouch', '1.0.0'
Expand Down

0 comments on commit 38e057b

Please sign in to comment.