List: pjsip@lists.pjsip.org
From: s.marek (at) avm.de
Re: [pjsip] Detect bluetooth device on the iPhone
Thu, Sep 13, 2012 2:21 PM
;)
I worked around it with a little hack:
- set up a short timer
- enable bluetooth
- if bluetooth gets enabled (watch for AudioRoute changes), cancel the
timer
- when the timer runs out, there is no bluetooth device connected
It works under the assumption, that someone starting a phone call with a
bluetooth device connected, wants to use that bluetooth