How to control media with bluetooth earphones

Play, pause, next song, etc. don’t work with bluetooth earphones. Is there a way to set this up?

MAFA relies on Android system to support Bluetooth devices.

It will only work when using HTTP streaming with the internal media player and enabling “HTTP Streaming” → “Use media buttons” from MAFA settings.

Even then, not all Bluetooth devices (speakers, headphones, etc.) are compatible. It depends on the Android device and the connected Bluetooth device.

thank you for your reply.
After turning on the HTTP streaming media button and adding HTTP streaming settings to mpd.conf, I confirmed that it worked.