[pulseaudio-discuss] [PATCH v4 0/7] New API for Bluetooth A2DP codecs

Luiz Augusto von Dentz luiz.dentz at gmail.com
Sat Jan 19 11:53:54 UTC 2019


Hi Pali,

On Wed, Jan 16, 2019 at 8:22 PM Pali Rohár <pali.rohar at gmail.com> wrote:
>
> On Tuesday 15 January 2019 10:06:14 Luiz Augusto von Dentz wrote:
> > On Mon, Jan 14, 2019 at 8:24 PM Pali Rohár <pali.rohar at gmail.com> wrote:
> > > For every A2DP codec is created card profile. When using bluez patches
> > > from https://marc.info/?l=linux-bluetooth&m=154696260401673&w=2 then
> > > only those profiles codec profiles are created which are supported
> > > by remote headset/endpoint.
> >
> > Hmm, this may be a problem in case we have never actually discover the
> > remote endpoints, for instance if you had an existing headset paired
> > and that only reconnects and setup the stream on its own we would not
> > have the list of its endpoits, in this case we should not be able to
> > switch endpoits but we should still be able to connect as before.
>
> Is there any way to fix it? I guess this needs to be done in bluez
> daemon.

We could attempt to reverse discovery though that doesn't stop the
remote stack to initiate the stream setup before the discovery is
completed so we should be able to accept even if the endpoint is not
available.

-- 
Luiz Augusto von Dentz


More information about the pulseaudio-discuss mailing list