Skip to main content
InitParams holds the configuration needed to connect the SDK to Sanas Cloud. You pass an instance of this class to RemoteSDK.Initialize() to establish a connection. At minimum, you must provide your endpoint URL, account ID, and account secret.

Properties

PropertyTypeRequiredDescription
remoteEndpointstringYesThe SIP/RTP endpoint URL
accountIdstringYesYour Sanas account ID
accountSecretstringYesYour Sanas account secret
secureMediabooleanNoEnable encrypted audio (default: false)
Your remoteEndpoint, accountId, and accountSecret are provided in your welcome email after requesting access. Keep your account secret secure and never expose it in client-side code.

See Also

RemoteSDK

The main SDK class that accepts InitParams

InitSDKResult

Return values from Initialize()