ClientConfig
Props
bundleId
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
enableCameraMirroring: undefined
| false
| true
Whether to enable the front facing camera mirroring. The default value is true.
enableDebugLogging
enableDebugLogging: undefined
| false
| true
Whether to enable debug logging. The default value is false.
enableLogcatLogging
enableLogcatLogging: undefined
| false
| true
Whether to enable log output to logcat. The default value is true.
enableVideo
enableVideo: undefined
| false
| true
Whether to enable video functionality. The default value is true.
forceRelayTraffic
forceRelayTraffic: undefined
| false
| true
Whether to force the traffic to go through TURN servers. The default value is false.
preferredVideoCodec
preferredVideoCodec:
Preferred video codec for all video calls. The default codec is [VideoCodec.VP8]. Can be overridden for a particular call via CallSettings.preferredVideoCodec.
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.