iOS Device as Bluetooth audio sink

Hello Everyone,

I am working on an app that will receive some audio files sent from a device over Bluetooth to an iPhone, and the iPhone should play those audio files. The device is currently using A2DP Bluetooth audio profile. Here, the device is the A2DP source and the iPhone should be the A2DP sink. During my research, I found out that Apple doesn't allow iPhone to act as an A2DP sink.
My question is, which other Bluetooth audio profiles can be used to make the iPhone act as an audio sink or receiver?

Thanks,
PC
Accepted Answer

Hi PC,

i am looking for the same solution. The only solution i can think of is to use voice over BLE. Here is an example: https://dev.ti.com/tirex/explore/node?node=AFqrqQ6ChsQGd9nzgnY9Sg__RW99gST__LATEST

But you have to work with audio compression and reduce the sample rate to send stereo audio signals.

Best regards,

Michael

You could check https://github.com/airander/A2DP-SINK. It is archived, but I hope at least the basic IOBluetooth implementation is still the same (or very similar).

iOS Device as Bluetooth audio sink
 
 
Q