Mobile-SDK-iOS icon indicating copy to clipboard operation
Mobile-SDK-iOS copied to clipboard

DJICamera delegate function doesn't recognize thermal camera

Open pskow opened this issue 5 years ago • 7 comments

Hello! This is the issue specific to DJI Mavic 2 Enterprise Dual. When I'm trying to check in DJICamera's delegate function func camera(_ camera: DJICamera, didGenerateNewMediaFile newMedia: DJIMediaFile) what type of camera generated video, it always says Mavic 2 Enterprise Dual-Visual when file is clearly from Mavic 2 Enterprise Dual-Thermal camera.

Please let me know if there is ANY way to distinguish which camera generated DJIMediaFile or check any other properties which tells if file comes from thermal camera.

pskow avatar Jul 22 '20 14:07 pskow

Agent comment from Luce Luo in Zendesk ticket #37213:

Dear Customer,

Thank you for contacting DJI. Sorry, for the M2ED drone, there is no obvious method/property to distinguish which camera generated file. But the thermal file generated after the visual one usually, so maybe you can use timeCreated property to distinguish it.

Thanks,

Luce Luo DJI Developer Support

dji-dev avatar Jul 23 '20 07:07 dji-dev

@dji-dev Is there any other way to recognize video from thermal camera? Unfortunately, there are cases where thermal video is saved before thermal one. Fetching DJIMediaFile when camera is recording is not possible, and for the videos which are sliced around 4Gb there is no way to tell if the video is thermal or not. This is very urgent issue for me. Please let me know if there is any other solution, because I'm completely stumped at this.

pskow avatar Aug 09 '20 20:08 pskow

@dji-dev is there any movement around this issue?

pskow avatar Oct 22 '20 14:10 pskow

@dji-dev is there any chance it's fixed in 4.14?

pskow avatar Feb 26 '21 17:02 pskow

Hello @dji-dev - are there any updates regarding this issue?

pskow avatar Apr 28 '21 16:04 pskow

@dji-dev hello, any news regarding this issue? :)

pskow avatar May 25 '21 12:05 pskow

This was a 2 years old issue, I think it is a bug, I will report to the dev team about this. The camera:didGenerateNewMediaFile's camera input should specify which camera is it.

DJI-William avatar Jul 12 '22 03:07 DJI-William