Optional
apiThe API URL of your chosen datacenter, if set overrides default from region
Optional
autoAllow the sdk to automatically reconnect media when network interface changes
Optional
regionThe Vonage datacenter to use
Optional
rtcAllow users to enable RTCStats
Optional
websocketThe Path component appended to the Websocket URL
Optional
websocketThe WebSocket URL of your chosen datacenter, if set overrides default from region
Represents the configuration object for the client.
The
ClientConfig
class provides a convenient way to configure the client by specifying various properties. These properties control different aspects of the client's behavior, such as API URLs, media reoffer, and WebSocket settings.Example