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


Prepare encoder with default parameters