WebRTCClient instance. This is the main entry point of the SDK.
Signature
Parameters
Returns
Promise<WebRTCClient> — a configured client instance ready to connect and make calls.
Example
Errors
The function rejects with one of the following errors:
The function doesn’t connect to the SIP server and doesn’t send any network request. The SDK fetches the configuration when you call
connect().