From e9315bbb8d17172c075f905ac9129de77bf08d90 Mon Sep 17 00:00:00 2001 From: Jayesh Nirve Date: Tue, 19 Jul 2022 15:18:37 +0530 Subject: [PATCH] fix: set fixed time for ringer element sets lifetime to 60000 which would reject our calls automatically --- lib/src/voip/call.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/voip/call.dart b/lib/src/voip/call.dart index 4ed8765d..feeafc28 100644 --- a/lib/src/voip/call.dart +++ b/lib/src/voip/call.dart @@ -419,7 +419,7 @@ class CallSession { setCallState(CallState.kRinging); - ringingTimer = Timer(Duration(milliseconds: 30000 - lifetime), () { + ringingTimer = Timer(Duration(seconds: 30), () { if (state == CallState.kRinging) { Logs().v('[VOIP] Call invite has expired. Hanging up.'); hangupParty = CallParty.kRemote; // effectively