* A2DP optional codecs support
@ 2012-09-19 17:31 Pablo Barrantes
0 siblings, 0 replies; only message in thread
From: Pablo Barrantes @ 2012-09-19 17:31 UTC (permalink / raw)
To: linux-bluetooth
Hi,
I have successfully started audio streaming using A2DP profile from
an Android and iOS device to an embedded system under development. The
embedded system is using bluez, pulseaudio, ALSA and a bluetooth USB
dongle to capture the stream. By default the system is choosing SBC
encodification, but now I would like to use MPEG (AAC and MP3), this is
where it got complicated since I've been looking all around for
documentation or usage cases of A2DP with MPEG codecs with no success.
So here are a some questions I have, hope you can help me with them:
1. First, I'd like to have a better understanding of how will bluez
behave under this circumstances. Assuming that the source (Android or
iOS) is streaming MPEG data, is bluez capable of processing the packages
and then interact with another application (a pulse module maybe?) to
decode and play the data?
2. Related to the previous, my current audio.conf file has this
couple lines that are supposed to enable MPEG:
[A2DP]
SBCSources=0
MPEG12Sources=1
is that correct? Also, is there a way to "force" bluez to choose MPEG
over SBC?
3. How can I know which codec was selected on the negotiation process?
This one isn't directly related to bluez, but is still valid and maybe
somebody on this mailing list can answer it:
4. As mentioned before, I'm using an Android smartphone to stream
data to my embedded system and Android uses bluez to support bluetooth.
Is is possible to stream using MPEG encoded data with such devices?
FYI the kernel/packages version on my system are:
bluez-4.98 (had problems cross-compiling 4.101)
alsa-lib-1.0.25
pulseaudio-2.1
linux-kernel-2.6.32 (pretty old, but it's the one supported ATM)
Thanks in advance,
--Pablo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-19 17:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19 17:31 A2DP optional codecs support Pablo Barrantes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).