Skip to content
Snippets Groups Projects
Commit 0d1a7ab2 authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

ice transport: avoid deadlock in send callback

deadlock could happen with:
* handleEvents -> pj_lock -> on_data_sent -> iceMutex_
* send() -> iceMutex_ -> pj_ice_strans_sendto2 -> pj_lock

This was fixed by:
* Not setting on_data_sent callback for UDP
* Using a different mutex than iceMutex_ to wait for data send

Change-Id: Ic50698ac9dfe37574f145baa718fff8b74cc99be
parent 39a27cd0
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment