Skip to content

Commit d337fb3

Browse files
Merge pull request #139 from TakayukiHoshi1984/modify_unsuport_theta_roi
GET /omnidirectionalImage/roi 非サポート
2 parents d04f5a8 + ddb9503 commit d337fb3

2 files changed

Lines changed: 4 additions & 20 deletions

File tree

dConnectDevicePlugin/dConnectDeviceTheta/dConnectDeviceTheta/Classes/DPThetaManager.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -731,9 +731,9 @@ -(void)notifiedNetworkStatus:(NSNotification *)notification {
731731
}
732732

733733
// デバイス管理情報更新
734-
// dispatch_queue_t updateQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
735-
// dispatch_async(updateQueue, ^{
736-
// [self updateManageServices: online];
737-
// });
734+
dispatch_queue_t updateQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
735+
dispatch_async(updateQueue, ^{
736+
[self updateManageServices: online];
737+
});
738738
}
739739
@end

dConnectDevicePlugin/dConnectDeviceTheta/dConnectDeviceTheta/Classes/DPThetaOmnidirectionalImageProfile.m

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,6 @@ - (instancetype)init
3232
_server = [DPThetaMixedReplaceMediaServer new];
3333
_server.delegate = self;
3434

35-
// API登録(didReceiveGetRoiRequest相当)
36-
NSString *getRoiRequestApiPath = [self apiPath: nil
37-
attributeName: DPOmnidirectionalImageProfileAttrROI];
38-
[self addGetPath: getRoiRequestApiPath
39-
api:^BOOL(DConnectRequestMessage *request, DConnectResponseMessage *response) {
40-
41-
NSString *serviceId = [request serviceId];
42-
NSString *source = [request stringForKey:DPOmnidirectionalImageProfileParamSource];
43-
44-
return [weakSelf requestViewWithRequest:request
45-
response:response
46-
serviceId:serviceId
47-
source:source
48-
isGet:YES];
49-
}];
50-
5135
// API登録(didReceivePutRoiRequest相当)
5236
NSString *putRoiRequestApiPath = [self apiPath: nil
5337
attributeName: DPOmnidirectionalImageProfileAttrROI];

0 commit comments

Comments
 (0)