From e5c8e4f4fe5545fa8abbd462ad553f1488fd023e Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Thu, 2 Dec 2021 15:12:59 +0000 Subject: [PATCH] chore: Time unit replacement. --- lib/src/voip.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();