ClientConfig
Props
bundleId
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
enableCameraMirroring: undefined
| false
| true
Enable/disable front facing camera mirroring. True by default.
enableDebugLogging
enableDebugLogging: undefined
| false
| true
Enable debug logging. Set to false by default.
enableLogcatLogging
enableLogcatLogging: undefined
| false
| true
Enable log output to logcat. True by default.
enableVideo
enableVideo: undefined
| false
| true
Enable video functionality. Set to true by default.
forceRelayTraffic
forceRelayTraffic: undefined
| false
| true
Force traffic to go through TURN servers. False by default.
preferredVideoCodec
preferredVideoCodec:
Preferred video codec for all video calls. [VideoCodec.VP8] by default. 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 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.