onCallHangup method
Implementation
Future<void> onCallHangup(CallSession call) async {
if (call.hangupReason == CallErrorCode.Replaced) {
return;
}
await onStreamsChanged(call);
await removeCall(call, call.hangupReason!);
}
Future<void> onCallHangup(CallSession call) async {
if (call.hangupReason == CallErrorCode.Replaced) {
return;
}
await onStreamsChanged(call);
await removeCall(call, call.hangupReason!);
}