RTCSpatialAudio class abstract

空间音频接口实例

Constructors

RTCSpatialAudio()

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

disableRemoteOrientation() → Future<void>
参与通话的各端调用本接口后,将忽略远端用户的朝向,认为所有远端用户都面向本地用户
enableSpatialAudio(bool enable) → Future<void>
开启/关闭空间音频功能
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateListenerOrientation(HumanOrientation orientation) → Future<int?>
更新在房间内收听音频时的朝向
通过此接口,你可以设定本地用户的发声朝向和收听朝向不同。
updateListenerPosition(Position pos) → Future<int?>
更新在房间内收听音频时的位置
通过此接口,你可以设定本地发声位置和收听位置不同。
updatePosition(Position pos) → Future<int?>
更新本地用户在房间内空间直角坐标系中的位置坐标
updateSelfOrientation(HumanOrientation orientation) → Future<int?>
更新本地用户在空间音频坐标系下的朝向

Operators

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