dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
577 stars 256 forks source link

Matrice 300 RTK - Unrecognized selector requestBodyLength when calling DJICamera setCaptureStreamSources #417

Open edupazpix4d opened 3 years ago

edupazpix4d commented 3 years ago

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

dji-dev commented 3 years ago

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

edupazpix4d commented 3 years ago

Thanks for the quick response.

Version used: MobileSDK 4.14-trial1.

谢谢

randy-Zhang commented 3 years ago

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

edupazpix4d commented 3 years ago

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

randy-Zhang commented 3 years ago

@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.

edupazpix4d commented 3 years ago

@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!