public class VideoEncoderFallback extends WrappedNativeVideoEncoder
VideoEncoder.BitrateAllocation, VideoEncoder.Callback, VideoEncoder.Capabilities, VideoEncoder.CodecSpecificInfo, VideoEncoder.CodecSpecificInfoH264, VideoEncoder.CodecSpecificInfoVP8, VideoEncoder.CodecSpecificInfoVP9, VideoEncoder.EncodeInfo, VideoEncoder.ResolutionBitrateLimits, VideoEncoder.ScalingSettings, VideoEncoder.Settings
Constructor and Description |
---|
VideoEncoderFallback(VideoEncoder fallback,
VideoEncoder primary) |
Modifier and Type | Method and Description |
---|---|
long |
createNativeVideoEncoder()
The encoder implementation backing this interface is either 1) a Java
encoder (e.g., an Android platform encoder), or alternatively 2) a native
encoder (e.g., a software encoder or a C++ encoder adapter).
|
boolean |
isHardwareEncoder()
Returns true if the encoder is backed by hardware.
|
encode, getImplementationName, getScalingSettings, initEncode, release, setRateAllocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResolutionBitrateLimits
public VideoEncoderFallback(VideoEncoder fallback, VideoEncoder primary)
public long createNativeVideoEncoder()
VideoEncoder
createNativeVideoEncoder
in interface VideoEncoder
createNativeVideoEncoder
in class WrappedNativeVideoEncoder
public boolean isHardwareEncoder()
VideoEncoder
isHardwareEncoder
in interface VideoEncoder
isHardwareEncoder
in class WrappedNativeVideoEncoder
6.0.0