Unable to hear voice in local speaker using Pjsua app on iPhone iOS4

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

 



Benny Prijono <bennylp <at> teluu.com> writes:

> 
> Hi,
> 
> Thanks for the detailed report. I'm guessing that you have problem
> with NAT, hence STUN should be enabled. The instruction to enable NAT
> in [1] was outdated (sorry for that, but I just fixed it), the option
> should be "--stun-srv" instead of "--use-stun1". For example, add this
> in your cmdline:
> 
>   --stun-srv stun.pjsip.org
> 
> Best regards,
> ?Benny
> 
> [1] https://trac.pjsip.org/repos/wiki/Audio_Problems/Getting_Around_Nat
> 

Hi Benny, thanks for your answer.

For some reason if I write --stun-srv stun.pjsip.org on the command line
 it says invalid input, is weirdbecause if for example I enter +a it let me add
 a new account but if I enter --no-vad or !a it says invalid input.
(I understand command line as selecting the text field on the iPhone screen 
an entering a command, that where I enter the others commands like +a to 
add the account) 

Anyway I manage to set up the STUN server by adding this line of code on the 
XCode in the app_init method: 
app_config.media_cfg.no_vad = PJ_TRUE;
app_config.cfg.stun_host = pj_str ("stun.pjsip.org");

Now, when I run the app it detects the STUN server and if I put 'n' in command 
line it says "NAT detected as Symmetric"

The bad news for me are that Im still unable to hear any sound on my local 
iPhone speaker.

I dont know if maybe I can print some other log that can help to find my 
problem, do you know?

Thanks in advance and best regards,

Pablo N.




[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