-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hi,plugin was wrong at the first time we start the "startPhoneCall".
I couldn't get duration at the first time.
It always shows "completed" immediately, then duration was not correct.
I found this code :
"
switch (event.type) {
case RawEventType.inbound:
// Nothing
break;
case RawEventType.outbound:
_changeStatus(matching, PhoneCallStatus.connecting);
break;
case RawEventType.connected:
_changeStatus(matching, PhoneCallStatus.connected);
break;
case RawEventType.disconnected:
/// We ended the call--- makes sure it's not some ridiculously long call
_changeStatus(matching, PhoneCallStatus.disconnected);
break;
}
"
The first time we start the call, status is "disconnected" and that the problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels