DJI-Mobile-SDK-Tutorials / Android-MediaManagerDemo

This demo is designed for you to learn how to use the MediaManager to interact with the file system on the SD card of the aircraft's camera. You can use it to preview photos, play videos, download or delete files and so on.
MIT License
25 stars 19 forks source link

Video doesn't shows preview or plays #6

Closed mnabilurrehman closed 4 years ago

mnabilurrehman commented 4 years ago

I have build the MediaManagerSDK it is working fine for capturing photos, record audio and downloading video and picture. But it only shows Preview of photo when I press on video it doesn't shows it preview or doesn't play it.

After making video when I press on video item following happens in addMediaTask function.

In onUpdate() call back DJIError is not null and it executes the else block: } else { setResultToToast("fetch preview image failed: " + error.getDescription()); } and shows: "fetch preview image failed: Media download result: the server aborts the downloading"

Tested it on Mavic Pro and Spark

dji-dev commented 4 years ago

Public comment from Luce Luo in Zendesk ticket #28466:

Dear Customer,

Thank you for contacting DJI. To help us collect questions in detail, please fill in the form below and we will handle this ticket once we have received it. https://formcrafts.com/a/dji-developer-feedback-en

Thanks,

Luce Luo DJI Dev Team

mnabilurrehman commented 4 years ago

Thank you for your response. Issue was resolved after after contacting DJI Support. It was an issue from usability side. (y)

Asendo316 commented 4 years ago

What was the solution to this please?