M300 H20T FPV Feed
CompletedWe are integrating with the Multi-Lens Camera SDK methods to support the H20 series on the M300. We are trying to change the FPV feed to use the zoom lens by default.
Currently we are doing the following things:
Ocusynclink.assignSource to use the left camera and the primary fpv view.
In the completion block, we then call camera.setCameraVideoStreamSource with the zoom lens parameter. The response from setCameraVideoStreamSource is:
-1013 "Current product does not support this feature.
Can you please advise why this would occur? Is there something we need to call prior to setting the ocusynclink assignSource method or that we should not call first? We do have the H20T camera plugged in. Is there a different method that we should be using to change the FPV feed source?
-
Thank you for the response. I have confirmed that we are running the latest firmware on the M300, H20T and the controller. Below is a screenshot of the code we are running. You can see where I added a breakpoint in the code at which point I printed out a few variables in scope here to confirm that we have the appropriate objects in context:
Code snippet:
Console:
-
Dear Client Thank you for contacting DJI. I am not sure if this happens because you have closeAllVideoSources. You can try exclude this function. Also we do have this feature in our Sample, please have a try to see if this works. Link:https://github.com/dji-sdk/Mobile-SDK-Android/blob/master/Sample%20Code/app/src/main/java/com/dji/sdk/sample/demo/camera/MultipleLensCameraView.kt ![](https://djisdksupport.zendesk.com/attachments/token/5bQAzT3DOGcOlNEpVFv09o3RD/?name=inline-1685574918.png) Hopefully our solution can help you. Kindly Regards, DJI Developer Support -
I have excluded the call to classAllVideoSources and it made no difference. We've found this seems to make our FPV feed a bit more stable if we call this method first. Also, our code above is in swift. We do see the feed working with the proper lens when we try the objective c sample app, but when we implement it in our app we get errors from the SDK.
Please sign in to leave a comment.
Comments
4 comments