@vonage/client-sdk - v2.7.0
    Preparing search index...

    Type Alias ClientConfigObject

    ClientConfigObject:
        | ConfigObjectJS
        | { region?: ConfigRegion } & Omit<ConfigObjectJS, "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.

    const config: ClientConfig = new ClientConfig(ConfigRegion.EU);
    config.apiUrl = 'https://api.example.com';
    config.websocketUrl = 'https://ws.example.com';
    config.rtcStatsTelemetry = true;
    config.autoReconnectMedia = false;
    client.setConfig(config);
    // or
    client.setConfig({
      apiUrl: 'https://api.example.com',
      websocketUrl: 'https://ws.example.com',
      region: 'EU'
    });