AVAudioRecorder/AVAudioSession with Apple Airpods

后端 未结 2 505
南旧
南旧 2020-12-17 01:49

I see the question already asked here:

AirPods not working as an input source for Voice Recorder App

I\'ve checked in with this thread but no response.

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-17 02:25

    I think AirPods are MFI (Made For Iphone) accessories which means that bluetooth communication goes thru ExternalAccessory framework https://developer.apple.com/documentation/externalaccessory

    Here is apple demo: https://developer.apple.com/library/content/samplecode/EADemo/Introduction/Intro.html

    Tip: Protocol name must be put in Info.plist in UISupportedExternalAccessoryProtocols key

    More details: https://mfi.apple.com/MFiWeb/getFAQ.action

提交回复
热议问题