SDKConfig constructor
SDKConfig(
- AugnitoConfig _augnitoConfig
Implementation
SDKConfig(this._augnitoConfig) {
final domainName = DomainUtils.getDomainName(_augnitoConfig.server);
assert(domainName.isNotEmpty,
"Unable to determine domain name. Verify you are providing a valid server.");
_domainUrl = "wss://$domainName/v2/speechapi";
_macroServiceURL = "https://$domainName/manage/v2";
_pushNotificationUrl = "wss://$domainName/speechapi/notification/";
_speechMicUrl = "wss://$domainName/speechapi/mobile/client/";
_speechUrl = _buildSpeechUrl();
}