diff options
author | Joshua Colp <jcolp@digium.com> | 2015-09-05 15:42:37 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-09-05 15:42:37 -0500 |
commit | bf74956371de7e7b830ee4686d63cf81e936ffc6 (patch) | |
tree | 9109590bc2c2ac90787f5dbd5888dd408b2d3df1 | |
parent | be31747db8312c2dc5d8a8339cbc7e7547cfd715 (diff) | |
parent | 27c89053b0e41eb05e4f22588d7cfab266590c59 (diff) |
Merge "Fix when remote candidates exceed PJ_ICE_MAX_CAND"
-rw-r--r-- | res/res_rtp_asterisk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index 545e21634..09a0fef97 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -706,8 +706,7 @@ static void ast_rtp_ice_start(struct ast_rtp_instance *instance) ao2_iterator_destroy(&i); if (has_rtp && has_rtcp && - pj_ice_sess_create_check_list(rtp->ice, &ufrag, &passwd, ao2_container_count( - rtp->ice_active_remote_candidates), &candidates[0]) == PJ_SUCCESS) { + pj_ice_sess_create_check_list(rtp->ice, &ufrag, &passwd, cand_cnt, &candidates[0]) == PJ_SUCCESS) { ast_test_suite_event_notify("ICECHECKLISTCREATE", "Result: SUCCESS"); pj_ice_sess_start_check(rtp->ice); pj_timer_heap_poll(timer_heap, NULL); |