fix: Store the call state, fix the invite cannot be sent.
This commit is contained in:
parent
b98b13d942
commit
c0e4008903
|
|
@ -642,6 +642,7 @@ class CallSession {
|
||||||
}
|
}
|
||||||
|
|
||||||
void setCallState(CallState newState) {
|
void setCallState(CallState newState) {
|
||||||
|
state = newState;
|
||||||
_callStateController.add(newState);
|
_callStateController.add(newState);
|
||||||
fireCallEvent(CallEvent.kState);
|
fireCallEvent(CallEvent.kState);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue