createOpusEncoder

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

Creates a new opus encoder using params created from ServerConfig.

Return

AudioEncoder instance.

Parameters

stereo

true if the encoder should be initialized in stereo mode.