fix: Store the call state, fix the invite cannot be sent.

This commit is contained in:
cloudwebrtc 2021-12-06 19:32:33 +08:00
parent b98b13d942
commit c0e4008903
1 changed files with 1 additions and 0 deletions

View File

@ -642,6 +642,7 @@ class CallSession {
}
void setCallState(CallState newState) {
state = newState;
_callStateController.add(newState);
fireCallEvent(CallEvent.kState);
}