CustomVideoEncoderFactory

open class CustomVideoEncoderFactory(sharedContext: EglBase.Context?, enableIntelVp8Encoder: Boolean, enableH264HighProfile: Boolean, forceSWCodec: Boolean = false, forceSWCodecs: List<String> = listOf("VP9")) : VideoEncoderFactory

Constructors

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

Functions

Link copied to clipboard
open override fun createEncoder(videoCodecInfo: VideoCodecInfo): VideoEncoder?
Link copied to clipboard
open fun getEncoderSelector(): VideoEncoderFactory.VideoEncoderSelector
Link copied to clipboard
open fun getImplementations(): Array<VideoCodecInfo>
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.