Interface IClientOptions

IClientOptions IClientOptions

Hierarchy

  • IClientOptions

Properties

anonymous_login?: {
    target_id: string;
    target_type: string;
}

anonymous_login login options

Type declaration

  • target_id: string

    The target ID to use for the anonymous login. this is typically the ID of the AI assistant you want to connect to.

  • target_type: string

    A string indicating the target type, for now only ai_assistant is supported.

debug?: boolean

Enable debug mode for this client. This will gather WebRTC debugging information.

debugOutput?: "file" | "socket"

Debug output option

forceRelayCandidate?: boolean

Force the use of a relay ICE candidate.

login?: string

The username to authenticate with your SIP Connection. login and password will take precedence over login_token for authentication.

login_token?: string

The JSON Web Token (JWT) to authenticate with your SIP Connection. This is the recommended authentication strategy. See how to create one.

password?: string

The password to authenticate with your SIP Connection.

prefetchIceCandidates?: boolean

Enable or disable prefetching ICE candidates.

region?: string

Region to use for the connection.

ringbackFile?: string

A URL to a wav/mp3 ringback file that will be used when you disable "Generate Ringback Tone" in your SIP Connection.

ringtoneFile?: string

A URL to a wav/mp3 ringtone file.