All Classes

com.voximplant.sdk.client

Class ClientConfig

  • java.lang.Object
    • com.voximplant.sdk.client.ClientConfig


  • public class ClientConfig extends java.lang.Object
    Configuration for new IClient instance.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      boolean enableCameraMirroring
      Enable/disable front facing camera mirroring. True by default.
      boolean enableDebugLogging
      Enable debug logging. False by default.
      boolean enableHWAccelerationForDecoding
      Enable hardware video acceleration for decoding. True by default.
      boolean enableHWAccelerationForEncoding
      Enable hardware video acceleration for encoding. True by default.
      boolean enableLogcatLogging
      Enable log output to logcat. True by default.
      boolean enableVideo
      Enable video functionality. True by default.
      boolean H264first
      Use H264 video codec, if exist.
      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.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ClientConfig() 
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • enableVideo

        public boolean enableVideo
        Enable video functionality. True by default.
      • enableHWAccelerationForEncoding

        public boolean enableHWAccelerationForEncoding
        Enable hardware video acceleration for encoding. True by default.
        Since:
        2.3.4
      • enableHWAccelerationForDecoding

        public 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
        Since:
        2.3.4
      • provideLocalFramesInByteBuffers

        public 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.
      • enableDebugLogging

        public boolean enableDebugLogging
        Enable debug logging. False by default.
      • enableLogcatLogging

        public boolean enableLogcatLogging
        Enable log output to logcat. True by default.
      • H264first

        public boolean H264first
        Use H264 video codec, if exist. False by default.
      • enableCameraMirroring

        public boolean enableCameraMirroring
        Enable/disable front facing camera mirroring. True by default.
        Since:
        2.3.4
    • Constructor Detail

      • ClientConfig

        public ClientConfig()