public class DefaultVideoEncoderFactory extends java.lang.Object implements VideoEncoderFactory
VideoEncoderFactory.VideoEncoderSelector
Constructor and Description |
---|
DefaultVideoEncoderFactory(EglBase.Context eglContext,
boolean enableIntelVp8Encoder,
boolean enableH264HighProfile) |
DefaultVideoEncoderFactory(EglBase.Context eglContext,
boolean enableIntelVp8Encoder,
boolean enableH264HighProfile,
boolean enableH264HuaweiSupport)
Create encoder factory using default hardware encoder factory.
|
Modifier and Type | Method and Description |
---|---|
VideoEncoder |
createEncoder(VideoCodecInfo info)
Creates an encoder for the given video codec.
|
VideoCodecInfo[] |
getSupportedCodecs()
Enumerates the list of supported video codecs.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEncoderSelector, getImplementations
public DefaultVideoEncoderFactory(EglBase.Context eglContext, boolean enableIntelVp8Encoder, boolean enableH264HighProfile)
public DefaultVideoEncoderFactory(EglBase.Context eglContext, boolean enableIntelVp8Encoder, boolean enableH264HighProfile, boolean enableH264HuaweiSupport)
@Nullable public VideoEncoder createEncoder(VideoCodecInfo info)
VideoEncoderFactory
createEncoder
in interface VideoEncoderFactory
public VideoCodecInfo[] getSupportedCodecs()
VideoEncoderFactory
getSupportedCodecs
in interface VideoEncoderFactory
6.4.1