Changes between Version 1 and Version 2 of sound-problems/Getting_Around_Nat


Ignore:
Timestamp:
Jul 13, 2015 6:54:15 AM (9 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sound-problems/Getting_Around_Nat

    v1 v2  
    33If [wiki:audio-check-rx-rtp no RTP packet is received] (or [wiki:audio-problem-local-no-audio you can't any hear audio]), perhaps it's because of the NAT device is blocking the incoming RTP packets.  
    44 
    5 == Use STUN == 
     5== Use STUN and/or TURN and/or ICE == 
    66One of the obvious reason why no incoming packet is received is because the application sends private IP address as its RTP address. This can be verified by looking at the SDP {{{c=}}} line that is sent by the application.  
    77 
    8 If the SDP {{{c=}}} line contains private address, then probably you need to use STUN. You can enable STUN support in ''pjsua'' by using '''{{{--stun-srv}}}''' option from the command line. For example: 
     8If the SDP {{{c=}}} line contains private address, then probably you need to use STUN or TURN. You can enable STUN support in ''pjsua'' by using '''{{{--stun-srv}}}''' option from the command line. For example: 
    99{{{ 
    10  $ ./pjsua --use-stun stun.pjsip.org 
     10 $ ./pjsua --stun-srv stun.pjsip.org 
    1111}}} 
    1212 
    13  
     13Another example to use TURN and ICE: 
     14{{{ 
     15 $ ./pjsua --use-ice --use-turn --turn-srv turn.pjsip.org --turn-user [username] --turn-passwd *** 
     16}}} 
    1417 
    1518== Disabling VAD ==