public class DefaultVideoEncoderFactory extends java.lang.Object implements VideoEncoderFactory
VideoEncoderFactory.VideoEncoderSelector
Constructor and Description |
---|
DefaultVideoEncoderFactory(EglBase.Context eglContext,
boolean enableIntelVp8Encoder,
boolean enableH264HighProfile)
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)
@Nullable public VideoEncoder createEncoder(VideoCodecInfo info)
VideoEncoderFactory
createEncoder
in interface VideoEncoderFactory
public VideoCodecInfo[] getSupportedCodecs()
VideoEncoderFactory
getSupportedCodecs
in interface VideoEncoderFactory
6.0.0