Fix DTLS in calls.

This commit is contained in:
Ghislain MARY 2018-01-16 17:42:04 +01:00
parent cb41aa0482
commit 2cd079c96f

View file

@ -99,7 +99,7 @@ int IceAgent::getNbLosingPairs () const {
bool IceAgent::hasCompleted () const {
if (!iceSession)
return false;
return true;
return ice_session_state(iceSession) == IS_Completed;
}