Skip to content

Controller's record button suddenly stopped working #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SteliosPapamichail opened this issue Mar 20, 2025 · 5 comments
Open

Controller's record button suddenly stopped working #528

SteliosPapamichail opened this issue Mar 20, 2025 · 5 comments

Comments

@SteliosPapamichail
Copy link

Our app works with the MSDK to provide various functionalities but we do not handle the controller's physical record/take photo button presses. This seems to work out of the box and even in the MSDK5 docs, I was only able to find keys about whether or not the buttons were pressed by the user.

With that in mind, what are the possible reasons for which the physical record/take photo buttons suddenly stop working on the controller? When the pilot app is opened, everything works normally and when we are taking pictures via the MSDK, it also works.

Since we have no listeners however for these button presses and we don't do any handling ourselves, how can we debug this button?

@dji-dev
Copy link
Contributor

dji-dev commented Mar 21, 2025

Agent comment from YIGUI LIU in Zendesk ticket #135816:

Dear Developer,

Do you mean that the record/take photo buttons on the remote controller suddenly stopped working while flying with the MSDK APP? Is this situation occurring occasionally or is it a definite occurrence? The MSDK can only listen to the key values of these buttons being pressed/released and cannot affect their actual functions.

Does this problem also occur when using the DJI Pilot 2 on the remote controller for flying? If the same situation persists, you can first update the firmware versions of the remote controller and the aircraft to the latest versions.

Best Regards,
DJI Innovations SDK Technical Support Team

°°°

@SteliosPapamichail
Copy link
Author

It seems like when we were using an older version of MSDK5, these buttons were being handled by the controller itself somehow. We hadn't implemented any listeners for them, but when we would click them, the MSDK would automatically record or capture video/photos. After we bumped to the latest version, it seems like this stop being the case, and we had to handle the listening and execution of the relevant code manually. Did the handling change internally in the latest versions, maybe?

@dji-dev
Copy link
Contributor

dji-dev commented Mar 24, 2025

Agent comment from YIGUI LIU in Zendesk ticket #135816:

Dear Developer,

What are the models of the drone and the remote controller you are using? Generally, the photo-taking and video-recording buttons on the remote controller with a screen are already bound to the photo-taking and video-recording functions, and the MSDK App doesn't need to listen for the click event of the shutter button by itself to execute photo-taking.

Best Regards,
DJI Innovations SDK Technical Support Team

°°°

@SteliosPapamichail
Copy link
Author

The drone model is the DJI Mavic 3 enterprise along with its controller. We also thought it was going to be handled by the sdk but it did consistently stop working after bumping to MSDK5 v.12.0+ I believe.

@dji-dev
Copy link
Contributor

dji-dev commented Mar 25, 2025

Agent comment from YIGUI LIU in Zendesk ticket #135816:

Dear Developer,

After confirming with the MSDK R&D team, if you want to be able to use the physical buttons on the remote controller to take photos while running the MSDK APP, you need to listen for the button presses yourself and call the photo - taking interface. Currently, the MSDK sample also implements the relevant functions through the UXSDK. You can refer to the sample code.

Best Regards,
DJI Innovations SDK Technical Support Team

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants