# prepareVideoEncoder

open fun prepareVideoEncoder(width: Int, height: Int, fps: Int, bitRate: Int, rotation: Int, iFrameInterval: Int, formatVideoEncoder: FormatVideoEncoder): Boolean

open fun prepareVideoEncoder(width: Int, height: Int, fps: Int, bitRate: Int, rotation: Int, iFrameInterval: Int, formatVideoEncoder: FormatVideoEncoder, profile: Int, level: Int): Boolean

Prepare encoder with custom parameters

open fun prepareVideoEncoder(): Boolean

Prepare encoder with default parameters