Re: HFP - A2DP in BlueZ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jothi,

On Mon, Sep 07, 2009, Jothikumar Mothilal wrote:
> I was able to test HFP/A2DP independently.
> Is BlueZ supports multi profiles?
> For example, like A2DP with HFP - When you listen song, if you get a Skype call,
> Stop audio streaming and attend the call and start streaming once the
> call is disconnected.

Yes, we support it. The recommended way to connect both profiles is to
simply use the org.bluez.Audio.Connect() D-Bus method. You'll need to have
some integration with the actual telephony subsystem (e.g. skype in your
case) as well as some extra handling in the component that interfaces with
bluetoothd over the audio unix socket (pulseaudio/gstreamer/alsa/etc).
Your media player should probably also be telephony aware or at least
provide an interface to a component that is telephony aware so that the
playing can be paused for the duration of a call.

In Maemo 5 this all works quite well by using the bluez maemo telephony
driver and a special pulseaudio policy module which handles the stream
switching on the pulseaudio side. Even with upstream pulseaudio on my
Ubuntu laptop I can get the profile switching somewhat well working with
the help of the pavucontrol tool.

> Is this feature available in BlueZ? If so from what version of BlueZ?

In theory any 4.x version should be fine, but the newer the version the
higher the chances that it'll work well.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux