Rate this page:

ClientConfig

Props

bundleId

Copy URL
bundleId: 

string

|

null

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

enableCameraMirroring

Copy URL
Android
enableCameraMirroring: 

undefined

|

false

|

true

Enable/disable front facing camera mirroring. True by default.

enableDebugLogging

Copy URL
Android
enableDebugLogging: 

undefined

|

false

|

true

Enable debug logging. Set to false by default.

enableLogcatLogging

Copy URL
Android
enableLogcatLogging: 

undefined

|

false

|

true

Enable log output to logcat. True by default.

enableVideo

Copy URL
Android
enableVideo: 

undefined

|

false

|

true

Enable video functionality. Set to true by default.

forceRelayTraffic

Copy URL
forceRelayTraffic: 

undefined

|

false

|

true

Force traffic to go through TURN servers. False by default.

logLevel

Copy URL
IOS
logLevel: 

LogLevel

Log levels.

preferredVideoCodec

Copy URL
Android
preferredVideoCodec: 

VideoCodec

Preferred video codec for all video calls. [VideoCodec.VP8] by default. 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 invoked.

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.