HardwareVideoEncoderFactory

Factory for android hardware video encoders.

Constructors

Link copied to clipboard
constructor(sharedContext: EglBase.Context, enableIntelVp8Encoder: Boolean, enableH264HighProfile: Boolean)
Creates a HardwareVideoEncoderFactory that supports surface texture encoding.
constructor(sharedContext: EglBase.Context, enableIntelVp8Encoder: Boolean, enableH264HighProfile: Boolean, @Nullable codecAllowedPredicate: Predicate<MediaCodecInfo>)
Creates a HardwareVideoEncoderFactory that supports surface texture encoding.
constructor(enableIntelVp8Encoder: Boolean, enableH264HighProfile: Boolean)

Functions

Link copied to clipboard
Creates an encoder for the given video codec.
Link copied to clipboard
Enumerates the list of supported video codecs.

Inherited functions

Link copied to clipboard
Returns a VideoEncoderSelector if implemented by the VideoEncoderFactory, null otherwise.
Link copied to clipboard
Enumerates the list of supported video codecs that can also be tagged with implementation information.