ICE: added media index in pjmedia when handling SDP containing ICE candidates
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1108 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjnath/src/pjnath-test/ice_test.c b/pjnath/src/pjnath-test/ice_test.c
index f867335..d9a97ee 100644
--- a/pjnath/src/pjnath-test/ice_test.c
+++ b/pjnath/src/pjnath-test/ice_test.c
@@ -459,7 +459,11 @@
pj_stun_config_init(&stun_cfg, mem, 0, ioqueue, timer_heap);
- //pj_log_set_level(4);
+#if 1
+ pj_log_set_level(5);
+#endif
+
+ goto test;
/* Basic create/destroy */
rc = ice_basic_create_destroy_test();
@@ -487,10 +491,13 @@
goto on_return;
/* Direct communication with two components */
+test:
rc = perform_ice_test("With two components (RTP and RTCP)", PJ_TRUE, 2, PJ_TRUE, D1, D2, 0, NULL, 0, NULL);
if (rc != 0)
goto on_return;
+ goto on_return;
+
/* Direct communication with mismatch number of components */
/* Direct communication with 2 components and 2 invalid address */
@@ -501,7 +508,7 @@
on_return:
- //pj_log_set_level(3);
+ pj_log_set_level(3);
pj_ioqueue_destroy(stun_cfg.ioqueue);
pj_pool_release(pool);
return rc;