Rate this page:

Config

VoxImplant SDK Configuration

Props

H264first

Copy URL
H264first: 

boolean

Use H264 video codec, if it is available on the target device

enableTrace

Copy URL
enableTrace: 

boolean

Show trace in console. The default value is false.

localVideoContainerId

Copy URL
localVideoContainerId: 

string

Id of HTMLElement that will be used as a default container for local video elements. Local videos are appended to the body element by default

micRequired

Copy URL
micRequired: 

boolean

If it is true a microphone access dialog will be shown and all functions will become available only after user granted access

progressTone

Copy URL
progressTone: 

boolean

Automatically plays progress tone by means of SDK according to specified progressToneCountry. The default value is true.

progressToneCountry

Copy URL
progressToneCountry: 

string

Country code for progress tone generated automatically if progressTone is set to true. Available values are: RU, US

queueType

Copy URL
queueType: 

QueueTypes

Queue type: ACD or SmartQueue.

remoteVideoContainerId

Copy URL
remoteVideoContainerId: 

string

Id of HTMLElement that will be used as a default container for remote video elements. Remote videos are appended to the body element by default

rtcStatsCollectionInterval

Copy URL
rtcStatsCollectionInterval: 

number

RTC statistics collection interval in milliseconds. The default value is 1000.

The value should be multiple of 500. If the value is not multiple of 500, it is rounded to the nearest lower suitable value. The minimum value is 500. If set to 0, the statistics are not collected.

Energy saver option: if the device's battery is lower than 30% and the device is not connected to a power outlet, the default value is 10000.

serverIp

Copy URL
serverIp: 

string[]

|

string

IP address of particular media gateway for connection

showDebugInfo

Copy URL
showDebugInfo: 

boolean

Show debug info in console. The default value is false.

showWarnings

Copy URL
showWarnings: 

boolean

Show warnings. The default value is false.

videoConstraints

Copy URL
videoConstraints: 

VideoSettings

|

boolean

Default constraints that will be applied on the next attachRecordingDevice function call or if micRequired set to true. IMPORTANT: the value has to be the object. Boolean values exist only in order to ensure backward compatibility.

videoContainerId

Deprecated
Copy URL
videoContainerId: 

string

Id of HTMLElement that will be used as a default container for local video elements, i.e. caller could see himself in this container during the conversation. Local videos are appended to the body element by default.