PublicStreamingAudioConfig class

公共流的音频参数

Constructors

PublicStreamingAudioConfig({int kBitrate = 16, int sampleRate = 44100, int channels = 1})

Properties

channels ↔ int
音频声道数,必填。
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
kBitrate ↔ int
音频码率,必填。单位为 kbps。正整数,可选取值:16, 32, 64。
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
sampleRate ↔ int
音频采样率,必填。单位为 Hz。可选取值:16000, 32000, 44100 和 48000
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited