LiveTranscodingAudioConfig class Null safety
转推音频配置。
Constructors
- LiveTranscodingAudioConfig({int channels = 2, String codec = 'AAC', int kBitrate = 64, int sampleRate = 48000, AACProfile aacProfile = AACProfile.lc})
Properties
- aacProfile ↔ AACProfile
-
AAC 编码等级。
read / write
- channels ↔ int
-
声道数,可取 1 或 2。
read / write
- codec ↔ String
-
合流转推音频编码器格式。
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- kBitrate ↔ int
-
合流音频码率,单位为 kbps 。
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sampleRate ↔ int
-
音频帧采样率,单位 HZ。目前支持的采样率有:8000HZ, 16000HZ, 32000HZ, 44100HZ,48000HZ。
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited