audio rerouting doesn't work - ios7 compatability

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

 



Hi,
I'm using this to route output sound to a speaker:

- (void)setSpeakerPhoneEnabled:(BOOL)enable {

    pjmedia_aud_dev_route route =  enable ?
PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER : PJMEDIA_AUD_DEV_ROUTE_DEFAULT;

    pj_status_t status;

    status = pjsua_snd_set_setting(PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE,
&route, PJ_TRUE);

}
ever since the latest changes were made for ios7 in the trunk I started
getting error 420008 from pjsua_snd_set_setting.

I would appreciate if someone on the team can post a little sample of plain
app that can successfuly route the output on ios7 incase this is not a bug.

I verified that this does work on changes 4589.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131011/d557cf5a/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