1
0
Fork 1

add timeout to ICE gathering

(cherry picked from commit de46a5bc21)
This commit is contained in:
Daniel Gultsch 2023-11-14 08:57:22 +01:00 committed by 12aw
parent f8edd89642
commit 819921f9e3

View file

@ -1539,11 +1539,10 @@ public class JingleRtpConnection extends AbstractJingleConnection
+ candidates.size()
+ " candidates in session accept");
sendSessionAccept(outgoingContentMap.withCandidates(candidates));
webRTCWrapper.resetPendingCandidates();
} else {
sendSessionAccept(outgoingContentMap);
webRTCWrapper.setIsReadyToReceiveIceCandidates(true);
}
webRTCWrapper.setIsReadyToReceiveIceCandidates(true);
}
@Override
@ -2005,11 +2004,10 @@ public class JingleRtpConnection extends AbstractJingleConnection
+ " candidates in session initiate");
sendSessionInitiate(
outgoingContentMap.withCandidates(candidates), targetState);
webRTCWrapper.resetPendingCandidates();
} else {
sendSessionInitiate(outgoingContentMap, targetState);
webRTCWrapper.setIsReadyToReceiveIceCandidates(true);
}
webRTCWrapper.setIsReadyToReceiveIceCandidates(true);
}
@Override