Open Asendo316 opened 4 years ago
Agent comment from William Wong in Zendesk ticket #33681:
Dear Client
Thank you for contacting DJI.
The code seems alright. The MEDIA_DOWNLOAD mode is not supported by X5 camera nor X5R camera while mounted on aircraft. Also please check whether the camera module is working properly. Please note that you cannot change the mode when a certain task is executing, such as taking photo(s), recording video, or downloading and saving files.
Hopefully our solution can help you. Kindly Regards, DJI Developer Support
I have the same problem. I used the code from this repository without modifications (only changed api key and package names, of course). DJI Pilot app can get the file list.
Value of currentFileListState is RESET before calling refreshFileListOfStorageLocation.
Formatting SD card didn't help.
Drone is Mavic 2 Enterprise Dual. Android Studio is 4.0.
Here are some logs: 2020-06-05 15:08:55.818 31972-32016/my.package E/my.package.MainActivity: Set cameraMode success 2020-06-05 15:09:05.823 31972-32368/my.package E/DJIFileListLoader: 10000ms内没有数据hit 重传 seq=0, timeoutCount=1 2020-06-05 15:09:15.826 31972-32368/my.package E/DJIFileListLoader: 10000ms内没有数据hit 重传 seq=0, timeoutCount=2 2020-06-05 15:09:25.828 31972-32368/my.package E/DJIFileListLoader: DJI loader timeout
Im trying to fetch media files from the drone using the same exact source code from this repository but been getting a timeout error on set camera mode execution.
this is my initMediaManager function
`public void initMediaManager() {
`
What to do please ?