diff --git a/lib/src/voip.dart b/lib/src/voip.dart index 3d0d5b14..6966e0bc 100644 --- a/lib/src/voip.dart +++ b/lib/src/voip.dart @@ -880,7 +880,7 @@ class CallSession { pc!.onIceGatheringState = (RTCIceGatheringState state) async { Logs().v('[VOIP] IceGatheringState => ${state.toString()}'); if (state == RTCIceGatheringState.RTCIceGatheringStateGathering) { - Timer(Duration(milliseconds: 3000), () async { + Timer(Duration(seconds: 3), () async { if (!iceGatheringFinished) { iceGatheringFinished = true; await _candidateReady();