Re: bluez: A2DP backchannel

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

 



On Wednesday 11 July 2018 16:34:14 Luiz Augusto von Dentz wrote:
> Hi Pali,
> 
> On Wed, Jul 11, 2018 at 2:04 PM, Pali Rohár <pali.rohar@xxxxxxxxx> wrote:
> > Hi!
> >
> > Some vendor A2DP bluetooth codecs like FastStream or aptX Low Latency
> > supports backchannel. Which means that they are bi-directional and in
> > A2DP they supports not only (music) playback, but also receiving
> > backchannel (microphone) voice.
> >
> > How to establish this bi-directional A2DP transfer with backchannel via
> > bluez daemon?
> 
> There is no such thing as bi-directional in AVDTP, which is a screw up
> from the spec authors,

So it means that those vendor A2DP codecs somehow extends AVDTP, right?
I would need to figure out how A2DP devices send voice data... At least
backchannel activation for FastStream is via one bit in codec parameters
like other codec parameters.

> luckily we don't have to stick to it since our
> sockets are bi-directional so you can send and receive data at same
> time, though the configuration must be the same in either direction
> otherwise we would have to support transport multiplexing to have
> multiple configuration done using the same channel.

So does it mean that I can read from file descriptor received from dbus
which is used for sending encoded A2DP audio samples? And if other side
(e.g device with FastStream or aptX LL vendor codec) send voice via A2DP
then I receive them on that file descriptor?

-- 
Pali Rohár
pali.rohar@xxxxxxxxx
--
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