PSDK Download Sample Fails to download large files
CompletedHi
After trying to run the download media sample provided by PSDK 3.2 the download mechanism works for small files but larger MP4 files(~250MB) fails to download and throw following message:
[22.838][downloader]-[Error]-[DjiCameraManager_DownloadFileByIndex:586) Download file data timeout
[22.838][user]-[Error]-[DjiTest_CameraManagerMediaDownloadAndDeleteMediaFile:1259) Download media file by index failed, error code: 0x000000E1.
PSDK version: V3.2.0-beta.0-build.1569
Drone: M300 , firmware version: V04.01.000
Camera: Zenmuse H20, firmware version: V04.01.03.00
-
We have investigated this problem before, and it is prompted that the download timeout is because the USB(bulk) has not received file data for 3s. Regardless of the data size, as long as the data is continuously transmitted, it will not throw the error timeout. 1. There is no such index file in the SD card, or the file is invalid 2. USB bulk stops receiving data. It is recommended to check the files in the SD card first, you can delete the media files, and only record a MP4 file to test the download.
Please sign in to leave a comment.
Comments
1 comment