Is it possible to send / receive voice from a PC to an Android device via Bluetooth

I have a computer (where the Java program works), a Bluetooth dongle (which supports A2DP) and an Android device (2.3.6, which also supports A2DP).

I want to:

  • Real-time voice data transfer from PC microphone to Android device via Bluetooth.
  • Real-time voice data transfer from the microphone of the Android device to the PC via Bluetooth.

I found this question where Dennis says that "Phones are usually only Source devices (Stream source that streaming devices can transmit), Sinks are Headsets or Bluetooth speakers." So it seems that you can implement case 2? Or not? What about case 1, is it impossible to implement?

+3
source share
1 answer

It is true that an Android phone is uniquely A2DPsource devices.

Unfortunately, your first case cannot be realized if you decide to rely on a profile A2DPfor audio streaming, since Android does not implement the required callbacks that BlueZ ads are supposed to handle when the remote device wants to transfer audio to your phone.

The second use case is possible, given that you have a bluetooth-compatible PC and some amazing applications that will decode and direct the sound from the Bluetooth stack to the speakers. I was able to reproduce this use case with PulseAudioand pulseaudio-module-bluetoothon Ubuntu 12.10.

- , , , BT- . - . Linux, Windows.

, - SO-, , tka > tink Android.

EDIT:

Bluetooth Android, , , Bluetooth (A2DP, HFP...).

+2

All Articles