createOpusEncoder

@NotNull
abstract fun createOpusEncoder(stereo: Boolean): @NotNull AudioEncoder

Creates a new opus encoder using default params.

Return

AudioEncoder instance.

Parameters

stereo

true if the encoder should be initialized in stereo mode.