CustomVideoDecoderFactory

open class CustomVideoDecoderFactory(sharedContext: EglBase.Context?, forceSWCodec: Boolean = false, forceSWCodecs: List<String> = listOf("VP9")) : VideoDecoderFactory

Constructors

Link copied to clipboard
constructor(sharedContext: EglBase.Context?, forceSWCodec: Boolean = false, forceSWCodecs: List<String> = listOf("VP9"))

Functions

Link copied to clipboard
open override fun createDecoder(videoCodecInfo: VideoCodecInfo): VideoDecoder?
Link copied to clipboard
open override fun getSupportedCodecs(): Array<VideoCodecInfo>
Link copied to clipboard
fun setForceSWCodec(forceSWCodec: Boolean)

Set to true to force software codecs.

Link copied to clipboard
fun setForceSWCodecList(forceSWCodecs: List<String>)

Set a list of codecs for which to use software codecs.