We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32e1807 commit 5c56ed3Copy full SHA for 5c56ed3
1 file changed
dConnectDevicePlugin/dConnectDeviceSonyCamera/dConnectDeviceSonyCamera/Classes/SonyCameraDevicePlugin.m
@@ -85,8 +85,7 @@ - (void) didTakePicture:(NSString *)postImageUrl {
85
// イベント作成
86
DConnectMessage *photo = [DConnectMessage message];
87
[DConnectMediaStreamRecordingProfile setUri:postImageUrl target:photo];
88
- [DConnectMediaStreamRecordingProfile setPath:[postImageUrl lastPathComponent] target:photo];
89
- [DConnectMediaStreamRecordingProfile setMIMEType:@"image/png" target:photo];
+ [DConnectMediaStreamRecordingProfile setMIMEType:@"image/jpg" target:photo];
90
91
// イベントの取得
92
DConnectEventManager *mgr = [DConnectEventManager sharedManagerForClass:[self class]];
0 commit comments