Shazamkit with AirPods

HI Guys,

I'm using Shazamkit in my IOS app and successfully capturing the currently playing track details, when using the devices (iPhone) built-in mic.

When I test with AirPods though, my app cannot both send the output to through the AirPods and capture that same output with the AirPods mic, for Shazamkit recognition.

I believe this must be possible, because the Shazamkit widget on IOS can do this.

Is it restricted in some way for third party apps?

If not, I'd appreciate some guidance on how to achieve this in Swift code.

Thanks in advance.

Shazamkit with AirPods
 
 
Q