OpusSettings

Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bitrate: Int?

Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.

Link copied to clipboard

Specify the number of channels in this output audio track. Choosing Mono on gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.

Link copied to clipboard

Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000.

Functions

Link copied to clipboard
inline fun copy(block: OpusSettings.Builder.() -> Unit = {}): OpusSettings
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String