VideoEncoderConfig

class VideoEncoderConfig(videoConfig: VideoCodecConfig, mode: EncoderMode = EncoderMode.SURFACE) : EncoderConfig<VideoCodecConfig>

Constructors

Link copied to clipboard
constructor(videoConfig: VideoCodecConfig, mode: EncoderMode = EncoderMode.SURFACE)

Properties

Link copied to clipboard
Link copied to clipboard
open override val isVideo: Boolean = true

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

Link copied to clipboard

Functions

Link copied to clipboard
open override 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