From 08640cc9411ca092e6456304bcce41f81b3bd3ce Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 29 May 2009 13:04:03 +0000 Subject: Integration of Sipit24 branch, many tickets involved: - #793: AMR encoder should regard 'mode-set' param specified by remote decoder. - #831: Automatically switch to TCP transport when sending large request - #832: Support for outbound proxy setting without using Route header - #849: Modify conference audio switch behavior in connecting ports. - #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces). - #851: Support for regular nomination in ICE - #852: --ip-addr support for IPv6 for media transport in pjsua - #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report) - #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report) - #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice - #857: Support for ICE keep-alive with Binding indication - #858: Do not authenticate STUN 438 response - #859: AMR-WB format param in the SDP is not negotiated correctly. - #867: Return error instead of asserting when PJSUA-LIB fails to open log file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98 --- pjnath/src/pjnath-test/ice_test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pjnath/src/pjnath-test/ice_test.c') diff --git a/pjnath/src/pjnath-test/ice_test.c b/pjnath/src/pjnath-test/ice_test.c index ffa1077d..7603b402 100644 --- a/pjnath/src/pjnath-test/ice_test.c +++ b/pjnath/src/pjnath-test/ice_test.c @@ -64,6 +64,8 @@ struct test_cfg unsigned destroy_delay; /* Delay before destroy() */ struct test_result expected;/* Expected result */ + + pj_bool_t nom_regular; /* Use regular nomination? */ }; /* ICE endpoint state */ @@ -141,9 +143,9 @@ static int create_ice_strans(struct test_sess *test_sess, } if (ept->cfg.enable_host == 0) { - ice_cfg.stun.no_host_cands = PJ_TRUE; + ice_cfg.stun.max_host_cands = 0; } else { - ice_cfg.stun.no_host_cands = PJ_FALSE; + //ice_cfg.stun.no_host_cands = PJ_FALSE; ice_cfg.stun.loop_addr = PJ_TRUE; } -- cgit v1.2.3