I'm using flutter_webrtc package for audio call functionality of my app and by default the audio output is on speakerphone how can I change the speaker phone to earpiece in flutter.
By analysing the code I used this method which is method in RTCVideoRenderer class called audioOutput but it throws unImplementedError.