update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1224 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
377090fa46
commit
77b7a209e2
|
@ -307,6 +307,9 @@ static int do_candidates(struct private_object *tech_pvt, int force)
|
|||
assert(channel != NULL);
|
||||
|
||||
tech_pvt->next_cand += DL_CAND_WAIT;
|
||||
if (switch_test_flag(tech_pvt, TFLAG_BYE)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (force || !switch_test_flag(tech_pvt, TFLAG_RTP_READY)) {
|
||||
ldl_candidate_t cand[1];
|
||||
|
@ -384,6 +387,10 @@ static int do_describe(struct private_object *tech_pvt, int force)
|
|||
|
||||
tech_pvt->next_desc += DL_CAND_WAIT;
|
||||
|
||||
if (switch_test_flag(tech_pvt, TFLAG_BYE)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
memset(payloads, 0, sizeof(payloads));
|
||||
|
||||
if (!tech_pvt->num_codecs) {
|
||||
|
|
Loading…
Reference in New Issue