SignalingClient.sendError()

DESCRIPTION

Send an error code and message to the other peer. Signaling Errors are always fatal so this call will make the device close its resources.

DECLARATION

sendError(error: SignalingError): Promise<void>

PARAMETERS

error:
The Signaling error.