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
| Property | Type | Required | Description |
|---|---|---|---|
remoteEndpoint | string | Yes | The SIP/RTP endpoint URL |
accountId | string | Yes | Your Sanas account ID |
accountSecret | string | Yes | Your Sanas account secret |
secureMedia | boolean | No | Enable 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
InitParamsInitSDKResult
Return values from
Initialize()