aster94 / GoProControl

Arduino library to interface with GoPro cameras
GNU General Public License v3.0
121 stars 21 forks source link

add command to download images #41

Open morray opened 2 years ago

morray commented 2 years ago

Could have additional options, like a) last image b) first image c) all images d) specific images e) direct transfer to google/AWS/one/... cloud f) direct transfer to ftp/smb/....

KonradIT commented 2 years ago

Downloading >5MB files in an ESP32? Sounds pretty challenging.

You could use https://github.com/aster94/GoProControl/blob/master/examples/ArduinoJson/ArduinoJson.ino#L47 to get a deserialized JSON object of the media list. And from there use something like this to download the file to an SD card (construct your URL like: http://10.5.5.9:8080/videos/DCIM/$folder/$file.JPG).

As per e) and f)... that's pretty much out of scope.

aster94 commented 2 years ago

That library seems interesting and not so heavy so it could be implemented into a download function Agree with @KonradIT e) and f) are out of scope