From c0e40089033f8b0eeeb1d1fba4f78c63e5d9c6cd Mon Sep 17 00:00:00 2001 From: cloudwebrtc Date: Mon, 6 Dec 2021 19:32:33 +0800 Subject: [PATCH] fix: Store the call state, fix the invite cannot be sent. --- lib/src/voip.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/voip.dart b/lib/src/voip.dart index 00d58bdf..3c7b7e1f 100644 --- a/lib/src/voip.dart +++ b/lib/src/voip.dart @@ -642,6 +642,7 @@ class CallSession { } void setCallState(CallState newState) { + state = newState; _callStateController.add(newState); fireCallEvent(CallEvent.kState); }