ZegoAudioMixingData class

混音数据

Constructors

ZegoAudioMixingData(Uint8List audioData, int audioDataLength, ZegoAudioFrameParam param, Uint8List SEIData, int SEIDataLength)

Properties

audioData ↔ Uint8List
需要混入推流的音频 PCM 数据
getter/setter pair
audioDataLength ↔ int
需要混入推流的音频 PCM 数据长度,若数据长度足够,则需和 expectedDataLength 一致
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
param ZegoAudioFrameParam
音频数据属性,包括采样率和声道数。目前支持 16k, 32k, 44.1k, 48k 的采样率、单声道或双声道、16 bit 位深的 PCM 数据。开发者需要显式指定音频数据属性,否则混音将不生效。
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SEIData ↔ Uint8List
SEI 数据,用于传递自定义数据。当 audioData 为空时,SEIData 也将不会被发送
getter/setter pair
SEIDataLength ↔ int
SEI 数据长度
getter/setter pair

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