leave()
Leaves the current meeting. If there is no active meeting, this method does nothing.
After calling leave(), the call object remains available and can be reused — call join() again to start a new session without having to recreate the call object. Call destroy() when you are done with the call object entirely.
Return value
Returns aPromise<void> that resolves once the participant has left.