Rate this page:

ClientConfig

Props

bundleId

Copy URL
bundleId: 

string

|

null

Application bundle id/package name for iOS/Android respectively. Set this only if you are going to send push notifications across several mobile apps to a specific platform (Android or iOS) by a single Voximplant application.

enableCameraMirroring

Copy URL
Android
enableCameraMirroring: 

undefined

|

false

|

true

Whether to enable the front facing camera mirroring. The default value is true.

enableDebugLogging

Copy URL
Android
enableDebugLogging: 

undefined

|

false

|

true

Whether to enable debug logging. The default value is false.

enableLogcatLogging

Copy URL
Android
enableLogcatLogging: 

undefined

|

false

|

true

Whether to enable log output to logcat. The default value is true.

enableVideo

Copy URL
Android
enableVideo: 

undefined

|

false

|

true

Whether to enable video functionality. The default value is true.

forceRelayTraffic

Copy URL
forceRelayTraffic: 

undefined

|

false

|

true

Whether to force the traffic to go through TURN servers. The default value is false.

logLevel

Copy URL
IOS
logLevel: 

LogLevel

Log levels.

preferredVideoCodec

Copy URL
Android
preferredVideoCodec: 

VideoCodec

Preferred video codec for all video calls. The default codec is [VideoCodec.VP8]. Can be overridden for a particular call via CallSettings.preferredVideoCodec.

requestAudioFocusMode

Copy URL
Android
requestAudioFocusMode: 

RequestAudioFocusMode

Specifies when the audio focus request is performed: when a call is started or established. [RequestAudioFocusMode.REQUEST_ON_CALL_START] by default. In case of [RequestAudioFocusMode.REQUEST_ON_CALL_CONNECTED], SDK requests audio focus and sets audio mode to MODE_IN_COMMUNICATION, when a call is established, i.e. CallEventTypes.Connected is triggered.

In case of [RequestAudioFocusMode.REQUEST_ON_CALL_START], SDK requests audio focus when the call is started, i.e. Client.call or Call.answer are called.

If the application plays some audio, it may result in audio interruptions. To avoid this behaviour, this option should be set to [RequestAudioFocusMode.REQUEST_ON_CALL_CONNECTED] and application's audio should be stopped/paused on CallEventTypes.ProgressToneStop.