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

Matrice 300 RTK - Unrecognized selector requestBodyLength when calling DJICamera setCaptureStreamSources

Open edupazpix4d opened this issue 4 years ago • 6 comments

Drone: DJI Matrice 300 RTK. Camera: Zenmuse H20T. Mobile SDK: 4.14-trial1.

What is the proper way to call DJICamera setCaptureStreamSources?

Source code:

DJICameraStreamSettings* sourceSettings = [[DJICameraStreamSettings alloc] initWithNeedCurrentLiveView:YES streams:[NSArray array]];
[self.djiCamera setCaptureStreamSources:sourceSettings withCompletion:^(NSError * _Nullable error) {

Output: [5f6089d9-94d5-11ea-b982-acde48001122 requestBodyLength]: unrecognized selector sent to instance 0x2810f5c20

edupazpix4d avatar Dec 21 '20 13:12 edupazpix4d

Agent comment from Luce Luo in Zendesk ticket #42317:

Dear Customer,

Thank you for contacting DJI. Sorry about this. I need to check with the engineer first. It will cost some time and we will contact you again once any progress.

Thanks,

Luce Luo DJI Developer Support

dji-dev avatar Dec 22 '20 10:12 dji-dev

Thanks for the quick response.

Version used: MobileSDK 4.14-trial1.

谢谢

edupazpix4d avatar Dec 22 '20 10:12 edupazpix4d

Drone: DJI Matrice 300 RTK. Camera: Zenmuse H20T. Mobile SDK: 4.14-trial1.

What is the proper way to call DJICamera ?setCaptureStreamSources

Source code:

DJICameraStreamSettings* sourceSettings = [[DJICameraStreamSettings alloc] initWithNeedCurrentLiveView:YES streams:[NSArray array]];
[self.djiCamera setCaptureStreamSources:sourceSettings withCompletion:^(NSError * _Nullable error) {

Output: [5f6089d9-94d5-11ea-b982-acde48001122 requestBodyLength]: unrecognized selector sent to instance 0x2810f5c20

brother,

Have you solved the problem

randy-Zhang avatar Dec 25 '20 05:12 randy-Zhang

@randy-Zhang I don't have reply from DJI.

edupazpix4d avatar Dec 25 '20 09:12 edupazpix4d

@edupazpix4d I got a response from DJI,Here's their response

Sorry, there are some problems with setCaptureStreamSources method, the engineer is checking and processing, do not use it for the time being. This will take some time and we will contact you again as soon as there is any progress.

randy-Zhang avatar Dec 28 '20 09:12 randy-Zhang

@randy-Zhang Thanks for your feedback. It may make sense as they just recently added to version v4.14-trial1. But I would expect an official response but nothing.

Thanks again!

edupazpix4d avatar Dec 28 '20 21:12 edupazpix4d