Android – how does the Bluetooth A2DP profile work?

I want to create a Bluetooth music player application to transfer audio from one device to another. I have read all the content about Bluetooth on the Android Developer page. I found that a configuration file named A2DP is created specifically for audio streaming. However, how to use it does not provide much. I have also experienced Bluetooth chat example, But I have been unable to figure out how to actually send audio and how to receive it. I also read that Android 5.0 added A2DP receiver function. After spending hours on stack overflow, I saw many questions asking the same questions, but there was no satisfactory answer

My main problem is –

>How does the Bluetooth A2DP profile work? > Is there a better way to stream audio between Android devices in addition to A2DP?

Any help would be appreciated

resolvent:

You can read avdtp core specification to understand what happens during A2DP connection. But if you want to know its coding work, I suggest you find a useful this blog through me

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>