CM(VonageClientSDKCore)
@interface VGClientInitConfig (VonageClientSDKCore_Swift_322)
Undocumented
-
-initWithLoggingLevel:
disableInternalLogger: customLoggers: region: apiUrl: websocketUrl: websocketPath: enableWebSocketInvites: rtcStatsTelemetry: autoReconnectMedia: enableNoiseSuppression: Create a new
VGClientInitConfig
instance. Default values:loggingLevel
:.info
disableInternalLogger
:false
customLoggers
:[]
region
:.US
apiURL
:https://api-{region}.vonage.com
websocketUrl
:https://ws-{region}.vonage.com
websocketPath
:/v2/rtc
autoMediaReoffer
:false
enableWebSocketInvites
:false
rtcStatsTelemetry
:true
autoReconnectMedia
:true
enableNoiseSuppression
:false
\param loggingLevel The logging level to use.\param disableInternalLogger Whether to disable the internal logger.
\param customLoggers An array of custom loggers. Max size: 10.
\param region An optional
VGConfigRegion
value specifying the desired region for configuration.\param apiUrl The API URL of your chosen datacenter.
\param websocketUrl The WebSocket URL of your chosen datacenter.
\param websocketPath The Path component appended to the Websocket URL.
\param enableWebSocketInvites Whether to enable websocket invites.
\param rtcStatsTelemetry Whether to enable rtc stats telemetry.
\param autoReconnectMedia Whether to automatically reconnect media when network interface changes.
\param enableNoiseSuppression Whether to enable noise suppression to reduce background noise during a call.
Declaration
Objective-C
- (nonnull instancetype) initWithLoggingLevel:(VGLoggingLevel)loggingLevel disableInternalLogger:(BOOL)disableInternalLogger customLoggers:(NSArray<id<VGLogger>> *_Nonnull)customLoggers region:(VGConfigRegion)region apiUrl:(NSString *_Nullable)apiUrl websocketUrl:(NSString *_Nullable)websocketUrl websocketPath:(NSString *_Nullable)websocketPath enableWebSocketInvites:(BOOL)enableWebSocketInvites rtcStatsTelemetry:(BOOL)rtcStatsTelemetry autoReconnectMedia:(BOOL)autoReconnectMedia enableNoiseSuppression:(BOOL)enableNoiseSuppression;