VideoEncoderFactoryWrapper

class VideoEncoderFactoryWrapper : VideoEncoderFactory

Decorator around a VideoEncoderFactory that wraps every encoder in a VideoEncoderWrapper to intercept all encoder errors.

Constructors

Link copied to clipboard
constructor(delegate: VideoEncoderFactory, @Nullable errorCallback: VideoEncoderFactoryWrapper.EncoderErrorCallback)

Types

Link copied to clipboard
Single callback for all encoder errors — status errors and exceptions.

Functions

Link copied to clipboard
fun createEncoder(codecInfo: VideoCodecInfo): VideoEncoder
Link copied to clipboard
fun getEncoderSelector(): VideoEncoderFactory.VideoEncoderSelector
Link copied to clipboard
fun getImplementations(): Array<VideoCodecInfo>
Link copied to clipboard
fun getSupportedCodecs(): Array<VideoCodecInfo>