iOS 拍照球形全景,- ( void )camera:(DJICamera *_Nonnull)camera ...
Completed iOS 拍照球形全景,- ( void )camera:(DJICamera *_Nonnull)camera didGenerateNewMediaFile:(DJIMediaFile *_Nonnull)newMedia 代理返回的DJIMediaFile.panoramaMode(为DJICameraPhotoPanoramaModeUnknown)、DJIMediaFile.shootPhotoMode(为DJICameraShootPhotoModeUnknown)、DJIMediaFile.mediaType(为JPEG) ,问下怎么判断newMedia 为全景文件类型?
-
通过didGenerateNewMediaFile获取到照片的index,然后在文件列表中找到那个全景文件,它的mediaType属性是什么呢?我们之前用M2E测试球形全景,拍摄获取到的照片属性的确是Panorama。调用的接口逻辑如下: 1.setMode:(DJICameraModeShootPhoto) withCompletion 2.setShootPhotoMode:DJICameraShootPhotoModePanorama 3.setPhotoPanoramaMode:DJICameraPhotoPanoramaModeSphere withCompletion: 4.startShootPhotoWithCompletion -
如果获取到的属性一直都是JPEG,麻烦你录制一个视频上传到这个链接里,我们想直观地了解一下问题的表现。另外,你使用的是什么无人机?sdk版本是什么呢? link:https://pan-sec.djicorp.com/s/tWATWgPZDNgA5YF 密码:dji123
Please sign in to leave a comment.
Comments
6 comments