Package tvi.webrtc

Class DefaultVideoEncoderFactory

java.lang.Object
tvi.webrtc.DefaultVideoEncoderFactory
All Implemented Interfaces:
VideoEncoderFactory

public class DefaultVideoEncoderFactory extends Object implements VideoEncoderFactory
Helper class that combines HW and SW encoders.
  • Field Details

    • PROP_ENABLE_HARDWARE_ENCODING

      public static final String PROP_ENABLE_HARDWARE_ENCODING
      Globally enables or disables support for hardware encoding for all supported video mime types. If disabled, hardware encoding will be disabled regardless if its subsequently enabled for a particular mimetype.
      See Also:
    • PROP_ENABLE_HARDWARE_VP8_ENCODING

      public static final String PROP_ENABLE_HARDWARE_VP8_ENCODING
      Enables or disables support for hardware encoding of VP8 content.
      See Also:
    • PROP_ENABLE_HARDWARE_VP9_ENCODING

      public static final String PROP_ENABLE_HARDWARE_VP9_ENCODING
      Enables or disables support for hardware encoding of VP9 content.
      See Also:
    • PROP_ENABLE_HARDWARE_H264_ENCODING

      public static final String PROP_ENABLE_HARDWARE_H264_ENCODING
      Enables or disables support for hardware encoding of H.264 content.
      See Also:
    • PROP_ENABLE_HARDWARE_H264_HIGH_PROFILE

      public static final String PROP_ENABLE_HARDWARE_H264_HIGH_PROFILE
      Enables "High Profile" H.264 support for hardware encoding H.264 content. Has no effect for software encoding.
      See Also:
    • PROP_ENABLE_HARDWARE_VP8_INTEL_ENCODER

      public static final String PROP_ENABLE_HARDWARE_VP8_INTEL_ENCODER
      Enables support for Intel's VP8 hardware encoder.
      See Also:
    • PROP_ENABLE_HARDWARE_H264_HUAWEI_ENCODER

      public static final String PROP_ENABLE_HARDWARE_H264_HUAWEI_ENCODER
      Enables support for Huawei's H.264 encoder.
      See Also:
    • PROP_ENABLE_HARDWARE_MEDIATEK_ENCODER

      public static final String PROP_ENABLE_HARDWARE_MEDIATEK_ENCODER
      Enables support for MediaTek's hardware encoders (VP8 & H.264 if avail).
      See Also:
  • Constructor Details

    • DefaultVideoEncoderFactory

      public DefaultVideoEncoderFactory(EglBase.Context eglContext, boolean enableIntelVp8Encoder, boolean enableH264HighProfile)
    • DefaultVideoEncoderFactory

      public DefaultVideoEncoderFactory(EglBase.Context eglContext, Properties config)
    • DefaultVideoEncoderFactory

      public DefaultVideoEncoderFactory(EglBase.Context eglContext, boolean enableIntelVp8Encoder, boolean enableH264HighProfile, boolean enableH264HuaweiSupport, boolean enableMediTekSupport)
      Create encoder factory using default hardware encoder factory.
  • Method Details