简体   繁体   English

如何通过iPhone上的OTG电缆连接到数码单反相机

[英]how to connect to DSLR camera by OTG cable on iPhone

I have tried to use EAAccessoryManager with swift: 我试图将EAAccessoryManager与swift一起使用:

let eaManager = EAAccessoryManager.shared()
let devices = eaManager.connectedAccessories

but the devices list is always empty, I searched this problem for two days on Google, but did not get any useful infomation, the Canon official remote control app connect to camera by BLE or Wifi, while the iPhone's photos app can access the DSLR camera and import photos from it by OTG cable. 但设备列表始终为空,我在Google上搜索了此问题两天,但没有得到任何有用的信息,佳能官方遥控器应用通过BLE或Wifi连接到相机,而iPhone的照片应用可以访问DSLR相机并通过OTG电缆导入照片。 so I think there must be a way to implement solve it. 所以我认为必须有一种解决方案。

I found even if I connect to DSLR camera by OTG cable, user can't use the camera while connecting, because iPhone doesn't support PTP protocol, the connection is established by mount the camera's SD card, camera lose the sdcard once iPhone mounted it. 我发现即使我通过OTG电缆连接到DSLR相机,用户也无法在连接时使用相机,因为iPhone不支持PTP协议,连接是通过安装相机的SD卡建立的,一旦安装了iPhone,相机就会丢失sdcard它。
so the only way to connect to DSLR camera on iPhone is BLE or Wifi. 因此,连接到iPhone上的DSLR相机的唯一方法是BLE或Wifi。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM