Changes between Version 2 and Version 3 of Audio_Problems/Getting_Around_Nat
- Timestamp:
- Sep 29, 2010 10:29:03 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Audio_Problems/Getting_Around_Nat
v2 v3 6 6 One 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. 7 7 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 '''{{{-- use-stun1}}}''' and '''{{{--use-stun2}}}''' optionsfrom the command line. For example: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: 9 9 {{{ 10 $ ./pjsua --use-stun 1 stun.example.com --use-stun2 stun.example.com10 $ ./pjsua --use-stun stun.pjsip.org 11 11 }}} 12 12