We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f74b0 commit 37a6cc3Copy full SHA for 37a6cc3
lib/src/rtc_session.dart
@@ -1635,7 +1635,14 @@ class RTCSession extends EventManager {
1635
if (candidate != null) {
1636
this.emit(EventIceCandidate(candidate, ready));
1637
if (!finished) {
1638
- //ready();
+ finished = true;
1639
+ /**
1640
+ * Just wait for 3 seconds. In the case of multiple network connections,
1641
+ * the RTCIceGatheringStateComplete event needs to wait for 10 ~ 30 seconds.
1642
+ * Because trickle ICE is not defined in the sip protocol, the delay of
1643
+ * initiating a call to answer the call waiting will be unacceptable.
1644
+ */
1645
+ setTimeout(() => ready(), 3000);
1646
}
1647
1648
};
0 commit comments