EncoderConfig

open class EncoderConfig

Encoder configuration.

Object is immutable, which means we can safely pass it between threads without explicit synchronization (and don't need to worry about it getting tweaked out from under us).

TODO: make frame rate and iframe interval configurable? Maybe use builder pattern with reasonable defaults for those and bit rate.

Constructors

Link copied to clipboard
constructor(outputFile: File, width: Int, height: Int, bitRate: Int, frameRate: Int, sharedEglContext: EGLContext)

Functions

Link copied to clipboard
open fun toString(): String