Bluetooth in Iphone is not working

WM
Wasim Mirza
Wed, Jul 25, 2018 12:06 PM

Hello,

I am having issues with PJSIP. I am not able to get the bluetooth
working on my iphone.

I enable bluetooth in my code using:

        pjmedia_aud_dev_route route = PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH;
        pj_status_t status = pjsua_snd_set_setting(

PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, &route, PJ_FALSE );

I am getting this error:

/**

  • @hideinitializer
  • The audio capability is invalid or not supported
    /
    #define PJMEDIA_EAUD_INVCAP    (PJMEDIA_AUDIODEV_ERRNO_START+8) /
    420008 */

Is this a known problem or am I missing a step here?

Hello, I am having issues with PJSIP. I am not able to get the bluetooth working on my iphone. I enable bluetooth in my code using: pjmedia_aud_dev_route route = PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH; pj_status_t status = pjsua_snd_set_setting( PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, &route, PJ_FALSE ); I am getting this error: /** * @hideinitializer * The audio capability is invalid or not supported */ #define PJMEDIA_EAUD_INVCAP (PJMEDIA_AUDIODEV_ERRNO_START+8) /* 420008 */ Is this a known problem or am I missing a step here?