Forcing iPhone Microphone as Audio Input

后端 未结 5 1384
深忆病人
深忆病人 2020-12-03 08:16

I am developing an iOS application (targetted specifically for iPhone, at the moment) that requires the application to record audio only from iPhone internal microph

5条回答
  •  盖世英雄少女心
    2020-12-03 09:00

    It is not possible, I try to figure out with route changed listener (with AudioSession). My result is : you can't configure separately input or output because of categories provided by Apple. I try *PlayAndRecord, when I pair a bluetooth device, route change like this :

    old route : HeadsetBT
    new route : SpeakerAndMicrophone
    

    In fact, my bluetooth is not an headset, just speakers... So for me there is no solution.

提交回复
热议问题