Commit 5ad4fc40 authored by jehan's avatar jehan

remove turn endpoint if ice/turn is disabled by remote call party

parent 2524b0f9
......@@ -1005,6 +1005,7 @@ static void ice_check_list_deallocate_turn_candidate(IceCheckList *cl, MSTurnCon
transaction = ice_send_stun_server_request(request, (struct sockaddr *)&cl->session->ss, cl->session->ss_len);
if (transaction != NULL) ice_stun_server_request_transaction_free(transaction);
ice_stun_server_request_free(request);
meta_rtp_transport_set_endpoint(rtptp,NULL); /*endpoint is later freed*/
} else {
ms_error("ice: no rtp socket found for session [%p]", cl->rtp_session);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment