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

Matrice 300 RTK - setCameraVideoStreamSource never completes (withCompletion)

Open edupazpix4d opened this issue 4 years ago • 8 comments

The call to setCameraVideoStreamSourceon Matrice 300 RTK is never completed. The body of withCompletionis never executed.

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

Example code:

[self.djiCamera setCameraVideoStreamSource:DJICameraVideoStreamSourceZoom withCompletion:^(NSError * _Nullable error) {
            if(error) {
                myLog(@"Error while setting camera source");
            } else {
                myLog(@"Success when setting camera source");
            }
        }];

edupazpix4d avatar Dec 22 '20 10:12 edupazpix4d

Agent comment from Luce Luo in Zendesk ticket #42371:

Dear Customer,

Thank you for contacting DJI. Sorry about it. This issue has been reported to the engineer to investigate further.

Thanks,

Luce Luo DJI Developer Support

dji-dev avatar Dec 23 '20 08:12 dji-dev

@edupazpix4d Hey, I can get the callback with the latest SDK. You can use my sample: https://github.com/Matheus193dn/Mobile-SDK-iOS/blob/master/Sample%20Code/SwiftSampleCode/DJISDKSwiftDemo/Camera/fpv/CameraFPVViewController.swift

Matheus193dn avatar Jan 15 '21 03:01 Matheus193dn

@Matheus193dn Thanks a lot, I'll give it a look.

edupazpix4d avatar Jan 15 '21 07:01 edupazpix4d

@edupazpix4d Thank you, but I tested and it only work at first time, this issue still happens after that.

Matheus193dn avatar Jan 15 '21 09:01 Matheus193dn

@edupazpix4d Did you try this? image

Matheus193dn avatar Jan 19 '21 03:01 Matheus193dn

Our OcuSyncLink is null, and I don't know why. I cannot move forward with this :(

edupazpix4d avatar Jan 19 '21 07:01 edupazpix4d

Our OcuSyncLink is null, and I don't know why. I cannot move forward with this :(

That's weird. It does not happen to me 😅

Matheus193dn avatar Jan 19 '21 08:01 Matheus193dn

The call to setCameraVideoStreamSourceon Matrice 300 RTK is never completed. The body of withCompletionis never executed.

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

Example code:

[self.djiCamera setCameraVideoStreamSource:DJICameraVideoStreamSourceZoom withCompletion:^(NSError * _Nullable error) {
            if(error) {
                myLog(@"Error while setting camera source");
            } else {
                myLog(@"Success when setting camera source");
            }
        }];

MobileSDK 4.15 has fixed this problem.You can use 4.15 to resolve this problem

dji-dev avatar Jul 28 '21 11:07 dji-dev