Package tvi.webrtc

Class DefaultVideoEncoderFactory

  • All Implemented Interfaces:
    VideoEncoderFactory

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

      • PROP_ENABLE_HARDWARE_ENCODING

        public static final java.lang.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:
        Constant Field Values
      • PROP_ENABLE_HARDWARE_VP8_ENCODING

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

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

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

        public static final java.lang.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:
        Constant Field Values
      • PROP_ENABLE_HARDWARE_VP8_INTEL_ENCODER

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

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

        public static final java.lang.String PROP_ENABLE_HARDWARE_MEDIATEK_ENCODER
        Enables support for MediaTek's hardware encoders (VP8 & H.264 if avail).
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultVideoEncoderFactory

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

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

        public DefaultVideoEncoderFactory​(EglBase.Context eglContext,
                                          java.util.Properties config)