SIGN UP

ClientConfig

Configuration for new IClient instance.

Fields

enableCameraMirroring

Since 2.3.4
boolean enableCameraMirroring

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

enableDebugLogging

boolean enableDebugLogging

Enable debug logging. False by default.

enableHWAccelerationForDecoding

Since 2.3.4
boolean enableHWAccelerationForDecoding

Enable hardware video acceleration for decoding. True by default. Should be set to false, if it is required to get remote video frames in I420 format with byte buffers

enableHWAccelerationForEncoding

Since 2.3.4
boolean enableHWAccelerationForEncoding

Enable hardware video acceleration for encoding. True by default.

enableLogcatLogging

boolean enableLogcatLogging

Enable log output to logcat. True by default.

enableVideo

boolean enableVideo

Enable video functionality. True by default.

packageName

Since 2.5.2
String packageName

Application package name is generally the applicationId in your app-level build.gradle file.

You need to set this only if you are going to send push notifications across several Android apps using a single Voximplant application.

preferredVideoCodec

VideoCodec preferredVideoCodec

Preferred video codec for all video calls, VideoCodec.VP8 by default. Can be overridden for a particular call via CallSettings.preferredVideoCodec

provideLocalFramesInByteBuffers

boolean provideLocalFramesInByteBuffers

Request video frames from camera in I420 format with byte buffers. Set to false by default.
Should be used only in case of custom implementation of video renderer (VideoRenderer.Callbacks class).
If set to true, VideoRenderer.Callbacks.renderFrame() will always provide the frames from camera in I420 format with byte buffers.
If set to false, video frames from camera will be provided in I420 format with textures.

requestAudioFocusMode

Since 2.7.0
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. ICallListener.onCallConnected(ICall, Map) is invoked.

In case of RequestAudioFocusMode.REQUEST_ON_CALL_START, SDK requests audio focus when the call is started, i.e. IClient.call(String, CallSettings) or ICall.answer(CallSettings) 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 ICallListener.onCallAudioStarted(ICall).

statsCollectionInterval

Since 2.5.0
int statsCollectionInterval

Call statistics collection interval in milliseconds. Default 5000. Must be multiple of 500.