DJI-Mobile-SDK-Tutorials / Android-FPVDemo

This demo shows how to create a simple FPV view and how to take photo and record video using DJI Mobile SDK.
MIT License
62 stars 81 forks source link

Error when capturing from camera on Mavic 2 Enterprise #43

Closed raphaelmaenle closed 4 years ago

raphaelmaenle commented 4 years ago

After app deployment using our api key, the app starts and connects to the mavic 2. The live video feed works, but when trying to record a video or take a capture, the error `"dji error camera is busy or the command is not supported in the current state"

gets thrown. Is there a workaround, which allows image capture during live video stream for the mavic 2?

dji-dev commented 4 years ago

Public comment from Luce Luo in Zendesk ticket #31423:

Dear Customer,

Thank you for contacting DJI. Please check if it can work in the DJI GO 4 App.

This issue will happen in the following cases: -SD card was not installed -SD card is full

Yes, we have a workaround to capture the image, the YUV data, from the live video stream, please refer to this documentation: https://developer.dji.com/mobile-sdk/documentation/sample-code/index.html

Thanks,

Luce Luo DJI Dev Team

raphaelmaenle commented 4 years ago

Thank you for your response, it was indeed not possible to take photos on the DJI Pilot Android app as well. The error came up even though:

Reformatting the internal storage via the DJI Pilot app solved the problem.