Skip to content

Commit 5c56ed3

Browse files
onPhotoの通知からpathを削除
1 parent 32e1807 commit 5c56ed3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dConnectDevicePlugin/dConnectDeviceSonyCamera/dConnectDeviceSonyCamera/Classes/SonyCameraDevicePlugin.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ - (void) didTakePicture:(NSString *)postImageUrl {
8585
// イベント作成
8686
DConnectMessage *photo = [DConnectMessage message];
8787
[DConnectMediaStreamRecordingProfile setUri:postImageUrl target:photo];
88-
[DConnectMediaStreamRecordingProfile setPath:[postImageUrl lastPathComponent] target:photo];
89-
[DConnectMediaStreamRecordingProfile setMIMEType:@"image/png" target:photo];
88+
[DConnectMediaStreamRecordingProfile setMIMEType:@"image/jpg" target:photo];
9089

9190
// イベントの取得
9291
DConnectEventManager *mgr = [DConnectEventManager sharedManagerForClass:[self class]];

0 commit comments

Comments
 (0)