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 enableDebugLogging
      Enable debug logging. False by default.
      boolean enableHWAcceleration
      Enable hardware video acceleration. 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, and enableHWAcceleration should be set to false.
      If set to false, video frames from camera will be provided in I420 format with textures.
    • 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.
      • enableHWAcceleration

        public boolean enableHWAcceleration
        Enable hardware video acceleration. True by default. Should be set to false, if provideLocalFramesInByteBuffers is set to true
      • 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, and enableHWAcceleration should be set to false.
        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.
      • H264first

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

      • ClientConfig

        public ClientConfig()