EncoderConfig

sealed class EncoderConfig<T : CodecConfig>(val config: T, val mode: EncoderMode)

Inheritors

Constructors

Link copied to clipboard
protected constructor(config: T, mode: EncoderMode)

Properties

Link copied to clipboard
val config: T
Link copied to clipboard
abstract val isVideo: Boolean

True if the encoder is a video encoder, false if it's an audio encoder

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun buildFormat(withProfileLevel: Boolean): MediaFormat

Get media format for the encoder

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int