<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - HSP not working in pulseaudio with BlueZ 5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73325#c22">Comment # 22</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - HSP not working in pulseaudio with BlueZ 5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73325">bug 73325</a>
from <span class="vcard"><a class="email" href="mailto:wim.taymans@gmail.com" title="wim.taymans@gmail.com <wim.taymans@gmail.com>"> <span class="fn">wim.taymans@gmail.com</span></a>
</span></b>
<pre><span class="quote">>
> Only if you are talking about HFP, in case of HSP all AT command are audio
> related so doing it in PA would actually make sense and in fact reduce the
> latency.</span >
Well almost, HSP has RING and the button press event. In practice you will use
HFP but theoretically, the phone stack could also do a RING on a pure HSP
headset.
<span class="quote">>
> > - needs some fairly lowlevel socket code for setting up the SCO connection
>
> Well the fd passed is a already a SCO socket or you are talking about bind +
> listen logic? I was thinking that perhaps this could be handled by
> bluetoothd as well and then maybe it delivered SCO fd via a second
> NewConnection.</span >
I am talking about the bind + connect code. This is among things what got
removed from bluez5, you say it should be added again? It's really not
complicated but the main problem is that you would then need the bluez5 headers
to compile the module (and if you use any of the functions, also link to
bluez).
<span class="quote">>
> Well this is actually what oFono has been doing so I don't see why we need
> another daemon, if the problem is that there is no telephony stack that can
> handle HFP (e.g. desktop) then HSP can be used instead.</span >
I have been looking at ofono as well but could not get this part to work. I
made a litte testapp to register an AudioAgent and wait for NewConnection() but
I could not make it work, no Cards showed up when I connected a headset. The
API looks like it would work. What do I need for this to work?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>