buildFormat

abstract fun buildFormat(requestFallback: Boolean): MediaFormat

Get media format for the encoder

Return

MediaFormat

Parameters

requestFallback

whether to request a fallback format if the preferred one is not supported