Skip to content

Commit

Permalink
p2p Video 双向音视频:SDKdemo中引用TRTC报错文件路径修改
Browse files Browse the repository at this point in the history
Tapd: http://tapd.oa.com/20393192/prong/stories/view/1020393192868332011

Change-Id: I96cdd9b82ba650c4c13cfd09a2372ddf28159995
  • Loading branch information
ccharlesren committed Dec 14, 2021
1 parent 666705a commit f1aad9f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
//

#import <Foundation/Foundation.h>

#import "TIOTTRTCModel.h"
#import "TIoTTRTCSessionManager.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
3 changes: 2 additions & 1 deletion Source/LinkSDKDemo/Core/Controller/Device/ControlDeviceVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ - (void)reportDeviceData:(NSDictionary *)deviceReport {
}
if (isTRTCDevice) {

[[TIoTTRTCUIManage sharedManager] callDeviceFromPanel:audioORvideo withDevideId:[NSString stringWithFormat:@"%@/%@",self.deviceInfo[@"ProductId"]?:@"",self.deviceInfo[@"DeviceName"]?:@""]];
// [[TIoTTRTCUIManage sharedManager] trtccallDeviceFromPanel:audioORvideo withDevideId:[NSString stringWithFormat:@"%@/%@",self.deviceInfo[@"ProductId"]?:@"",self.deviceInfo[@"DeviceName"]?:@""]];
[[TIoTTRTCUIManage sharedManager] trtcCallDeviceFromPanel:audioORvideo withDevideId:[NSString stringWithFormat:@"%@/%@",self.deviceInfo[@"ProductId"]?:@"",self.deviceInfo[@"DeviceName"]?:@""] reportDeviceDic:trtcReport];
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ - (void)deviceReceivedData:(NSDictionary *)data{
- (void)deviceInfo:(NSDictionary *)deviceInfo{
[HXYNotice addReportDevicePost:deviceInfo];

[[TIoTTRTCUIManage sharedManager] receiveDeviceData:deviceInfo?:@{}];
// [[TIoTTRTCUIManage sharedManager] receiveDeviceData:deviceInfo?:@{}];
[[TIoTTRTCUIManage sharedManager] trtcReceiveDeviceData:deviceInfo?:@{}];

}

Expand Down
2 changes: 2 additions & 0 deletions TIoTLinkKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
6D06B07825616720006361B5 /* TIoTAutoConditionsView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D06B07725616720006361B5 /* TIoTAutoConditionsView.m */; };
6D06B07C25619FE6006361B5 /* TIoTAutoAddManualIntelliListVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D06B07B25619FE6006361B5 /* TIoTAutoAddManualIntelliListVC.m */; };
6D06B0802561A1DB006361B5 /* TIoTAutoAddManualIntellListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D06B07F2561A1DB006361B5 /* TIoTAutoAddManualIntellListCell.m */; };
6D0B763F2768A57A005314FC /* TIoTStatusManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D3A6BB1275E27A30087F8F8 /* TIoTStatusManager.m */; };
6D127BC9268C8A3A0081542D /* TIoTDemoDeviceStatusModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D127BC8268C8A3A0081542D /* TIoTDemoDeviceStatusModel.m */; };
6D18DF2925E50BA4009CF65E /* TIoTWeatherVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D18DF2825E50BA4009CF65E /* TIoTWeatherVC.swift */; };
6D2049EB2653C189007F6F27 /* TIoTCloudStorageDayTimeListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D20483D26528A71007F6F27 /* TIoTCloudStorageDayTimeListModel.m */; };
Expand Down Expand Up @@ -3846,6 +3847,7 @@
F4F3D7CA24938EBE005D3396 /* WifiInfoVC.m in Sources */,
F4F3D7C024938EBE005D3396 /* UserVC.m in Sources */,
6DAF8DE0266F68C000CD0328 /* TIoTDemoCloudStoreDateListModel.m in Sources */,
6D0B763F2768A57A005314FC /* TIoTStatusManager.m in Sources */,
F4F3D7C224938EBE005D3396 /* MessageVC.m in Sources */,
6D6F0542259440AA002A4463 /* TIoTVideoSoftApDistributionNetVC.m in Sources */,
6D204EBE2664C53A007F6F27 /* UIDevice+TIoTDemoRotateScreen.m in Sources */,
Expand Down

0 comments on commit f1aad9f

Please sign in to comment.