Send RE-INVITE when the ICE session processing finishes successfully.

This commit is contained in:
Ghislain MARY 2012-07-20 15:38:57 +02:00
parent 83bc61b27b
commit 5f622db086

View file

@ -1704,6 +1704,8 @@ void linphone_call_background_tasks(LinphoneCall *call, bool_t one_second_elapse
evd->packet = NULL;
if (lc->vtable.call_stats_updated)
lc->vtable.call_stats_updated(lc, call, &call->stats[LINPHONE_CALL_STATS_VIDEO]);
} else if (evt == ORTP_EVENT_ICE_SESSION_PROCESSING_FINISHED) {
linphone_core_update_call(lc, call, &call->current_params);
}
ortp_event_destroy(ev);
}
@ -1740,6 +1742,8 @@ void linphone_call_background_tasks(LinphoneCall *call, bool_t one_second_elapse
evd->packet = NULL;
if (lc->vtable.call_stats_updated)
lc->vtable.call_stats_updated(lc, call, &call->stats[LINPHONE_CALL_STATS_AUDIO]);
} else if (evt == ORTP_EVENT_ICE_SESSION_PROCESSING_FINISHED) {
linphone_core_update_call(lc, call, &call->current_params);
}
ortp_event_destroy(ev);
}