Re: [PATCH v17 01/15] doc: Add telephony interface documents

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

 



Hi Frederic,

On Thu, Aug 9, 2012 at 1:03 PM, Frederic Danis
<frederic.danis@xxxxxxxxxxxxxxx> wrote:
>> They are mostly independent, oFono will never really acquire or
>> anything like that, but there are some AT commands (+VGS,+VGM) that
>> does notify PA about volume gain changes and as I said above it could
>> be useful to notify about wideband speech in the same way.
>>
>
> It is also possible that telephony agent implements a TelephonyClient
> interface for each connection, object which should be returned by
> NewConnection method.

You should return the properties as well to avoid another round trip
to get the properties of the client. Btw this requires yet another
object and interface that increases the complexity of the solution.

> In this case BlueZ will listen to properties changes on this interface (like
> for remote volume change) or call SetProperty (when receiving volume change
> from PulseAudio).
>
> As MediaTransport may change during wideband speech HFP session, due to
> codec re-negotiation, this architecture may simplify media transport code.

I don't think we need to do the codec negotiation on acquire, it
actually doesn't work since the transport cannot be reconfigured with
another codec as by design the endpoints can only have 1 codec, so I
suggest having the list of available codecs be given upfront in
NewConnection then you actually negotiate the codec before responding.
If the remote device attempts to change the codec oFono then can check
if the codec is available in the list of available codecs given on
NewConnection, if it find a match then it accepts and emit a signal of
codec changes that triggers a new transport to be configured.

Btw, Im not sure if this is really productive to discuss before we
even have this working with 1.5, IMO is easier to do things step by
step and the first step should be to get HFP 1.5 working as the
current upstream does then we think about 1.6 and other profiles such
as DUN and SAP.

-- 
Luiz Augusto von Dentz
--
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