if (call->endpoint){
linphone_call_remove_from_conf(call);
}
- if (call->audiostream->ice_check_list) ice_check_list_destroy(call->audiostream->ice_check_list);
audio_stream_stop(call->audiostream);
call->audiostream=NULL;
}
rtp_session_unregister_event_queue(call->videostream->session,call->videostream_app_evq);
ortp_ev_queue_flush(call->videostream_app_evq);
ortp_ev_queue_destroy(call->videostream_app_evq);
- if (call->videostream->ice_check_list) ice_check_list_destroy(call->videostream->ice_check_list);
video_stream_stop(call->videostream);
call->videostream=NULL;
}