Android / iOS: ear speaker + mic

Is it possible to send sound not to a loudspeaker, but to an ear, which is used when you speak on the phone?
Also, is there a possibility to get sound from a mic? I don’t mean I really want to analyze it somehow, but at least to be able to register the loudness.

This would be very platform dependent, maybe it is worth taking a look :slight_smile:

In the meantime, you could try making a native extension for it.