pjsua_snd_get_setting with PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE in iOS 6

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

 



Hi,

I am checking if pjsip is using bluetooth as the audio device with this code:
pjmedia_aud_dev_route route;
pj_status_t status = pjsua_snd_get_setting(PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, &route);
BOOL enabled =  (route == PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH);

This code works as expected in iOS 4, however, in iOS 6, the boolean variable "enabled" is always true even when there is no bluetooth device connected.

I am using pjsip 1.14.2 and would like to know if this is a known issue or if I am doing something wrong with the above check.

Thanks in advance,
Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121029/028d3eeb/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux