YITechnology / YIOpenAPI

YI Open API provides mobile SDKs and reference designs for software developers and hardware makers to build cool apps and products with YI 4K Action Cameras
Other
347 stars 77 forks source link

Feature request - set camera time over cable #35

Open bknill opened 7 years ago

bknill commented 7 years ago

I use Wifi for VR and would like to get a better sync. Reasons I still use wifi to trigger multiple cameras,

  1. I record audio from other sources at the same time
  2. My app organises the camera files and I get the filename when it's finished recording.
  3. I keep an eye on all battery settings via the app

The big downfall of course is lack of proper syncronisation over Wifi. The way you've implemented the API tho - it would be so easy to make it better. Because you set the time to trigger start/stop etc, if the cameras clocks are perfectly syncronised, the triggering should also be perfectly syncronised.

If there was a way (probably over a cable) of syncronising the clocks then this would be perfect. Ideally it would be something like

  1. plug all cameras into computer via USB
  2. Have a little java application or something that sends the current time to all cameras, so the clocks are the same.

then when you fire a start command via the app and give it a time to start recording, all cameras should start recording at the same time.

bknill commented 7 years ago

Further to this.. if the settings are now transferrable via the cable, does that include the clock? And does the clock get reset when new firmware gets installed? I.e. could I install the VR firmware, transfer settings so the clocks are synchronized, and then use the wifi controller with the time to start parameter so the cameras start at the same time?