Rate this page:

ClientConfig

Props

bundleId

Optional
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

Optional
Copy URL
Android
enableCameraMirroring: 

undefined

|

false

|

true

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

enableDebugLogging

Optional
Copy URL
Android
enableDebugLogging: 

undefined

|

false

|

true

Enable debug logging. Set to false by default.

enableLogcatLogging

Optional
Copy URL
Android
enableLogcatLogging: 

undefined

|

false

|

true

Enable log output to logcat. True by default.

enableVideo

Optional
Copy URL
Android
enableVideo: 

undefined

|

false

|

true

Enable video functionality. Set to true by default.

h264RecoveryMode

Optional
Copy URL
IOS
h264RecoveryMode: 

undefined

|

false

|

true

Enable experimental packet recovery mode to decode broken h264 streams.

logLevel

Optional
Copy URL
IOS
logLevel: 

LogLevel

Log levels.

preferredVideoCodec

Optional
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

Optional
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.