All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: bluez: A2DP backchannel
Date: Wed, 11 Jul 2018 16:37:47 +0200	[thread overview]
Message-ID: <20180711143747.lg6ve2lxkfphkftt@pali> (raw)
In-Reply-To: <CABBYNZJQPJOz75cZ4M8WZO0ZL29ePnsi1V1Y1Rc6S-=DT0ox+w@mail.gmail.com>

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@gmail.com> 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@gmail.com

  reply	other threads:[~2018-07-11 14:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-11 11:04 bluez: A2DP backchannel Pali Rohár
2018-07-11 13:34 ` Luiz Augusto von Dentz
2018-07-11 14:37   ` Pali Rohár [this message]
2018-07-28 19:26     ` Pali Rohár
2018-07-30 11:05       ` Marcel Holtmann
2018-07-30 17:10         ` Pali Rohár
2018-07-30 18:15           ` Marcel Holtmann
2018-07-30 18:25             ` Pali Rohár
2018-07-30 19:39               ` Marcel Holtmann
2018-07-30 19:53                 ` Pali Rohár
2018-07-30 19:54                 ` Luiz Augusto von Dentz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180711143747.lg6ve2lxkfphkftt@pali \
    --to=pali.rohar@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.