Closed kmamtora closed 6 months ago
await AudioSession.selectAudioOutput(isSpeaker === "speaker" ? "earpiece" : "speaker");
from loudspeaker to phone I am unable to change it in IOS in android this code works fine .
ios does not share the same audio device ids as android.
See AudioSession.getAudioOutputs().
await AudioSession.selectAudioOutput(isSpeaker === "speaker" ? "earpiece" : "speaker");
from loudspeaker to phone I am unable to change it in IOS in android this code works fine .