TRTCAudioFrame class

音视频帧数据类,用于处理和传输音频数据。

Constructors

TRTCAudioFrame()

Properties

channels ↔ int?
音频帧的通道数。
getter/setter pair
data ↔ Uint8List?
音频帧的原始数据。
getter/setter pair
extraData ↔ Uint8List?
音频额外数据,远端用户通过 onLocalProcessedAudioFrame 写入的数据会通过该字段回调。
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate ↔ int?
音频帧的采样率。
getter/setter pair
timestamp ↔ int?
音频帧的时间戳,单位 ms
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