Config
Voximplant SDK Configuration
Props
H264first
Optional. Whether to use H264 video codec, if available on the target device
enableTrace
Optional. Whether to show trace in console. The default value is false.
localVideoContainerId
Optional. Id of HTMLElement that is used as a default container for local video elements. Local videos are appended to the body element by default
micRequired
Optional. Whether the microphone access dialog is shown and all functions become available only after user grants access
node
Node the Voximplant account belongs to. To find which node your account belongs to, log in to your control panel and see the "Credentials for working with API, SDK, SIP" section on the main dashboard.
progressTone
Optional. Whether to play the progress tones automatically by means of SDK according to specified progressToneCountry. The default value is true.
progressToneCountry
COptional. ountry code for progress tone generated automatically if progressTone is set to true. Available values are: RU, US
queueType
Optional. Queue type: ACD or SmartQueue.
remoteVideoContainerId
Optional. Id of HTMLElement that is used as a default container for remote video elements. Remote videos are appended to the body element by default
rtcStatsCollectionInterval
Optional. 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.
showDebugInfo
Optional. Whether to show debug info in console. The default value is false.
showWarnings
Optional. Whether to show warnings. The default value is true.
videoConstraints
Optional. Whether to apply the default constraints 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
Optional. Id of HTMLElement that is 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.