Is there a way to control the volume of a MacBook using an iOS device?
Ideally I would like to rely on the built-in functionality present in macOS and iOS, but if that's not an option, then I would like to know which workarounds exist.
I am aware that it is possible to enable Screen Sharing in macOS (System Preferences > Sharing > Screen Sharing), and then use a VNC client on iOS in order to access the Mac's screen and scroll the volume slider, but this is not very convenient.
Another option I've discovered is to enable the SSH server on macOS (System Preferences > Sharing > Remote Login), connect from iOS with an SSH client and run something like
osascript -e "set Volume 10".
These options are unnecessarily clunky and I am assuming there might be some built-in option to do this but I couldn't find it so far.
(Ideally, I would also like to have the possibility to play/pause video and audio playback but since that's player-dependent I'm not expecting much in this sense).