Config
VoxImplant SDK Configuration
Props
H264first
H264first: boolean
Use H264 video codec, if it is available on the target device
enableTrace
enableTrace: boolean
Show trace in console. The default value is false.
localVideoContainerId
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
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
progressTone: boolean
Automatically plays progress tone by means of SDK according to specified progressToneCountry. The default value is true.
progressToneCountry
progressToneCountry: string
Country code for progress tone generated automatically if progressTone is set to true. Available values are: RU, US
remoteVideoContainerId
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
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
serverIp: string[]
| string
IP address of particular media gateway for connection
showDebugInfo
showDebugInfo: boolean
Show debug info in console. The default value is false.
showWarnings
showWarnings: boolean
Show warnings. The default value is false.
videoConstraints
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
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.