Signature
Parameters
None.Returns
Promise<void>
Throws
An error if the disconnection process encounters an issue, such as a failure to stop the SIP connection.Example
More Information
- connect
- destroy
- disconnected event
Stops audio, ends active sessions, and closes the SIP WebSocket connection.
Promise<void>