leave
Leaves the current call. If there is no ongoing call, this method does nothing.
The optional callback (listener
) will be invoked either when the operation has completed, or if it encounters an error.
Errors will also be provided to the CallClientListener.onError callback.
Emits the CallClientListener.onCallStateUpdated event.