onRemoteAudioPropertiesReport method

FutureOr<void> onRemoteAudioPropertiesReport(
  1. Array<RemoteAudioPropertiesInfo> audioPropertiesInfos,
  2. int totalRemoteVolume
)

@detail callback @author gongzhengduo @brief 远端用户进房后,本地调用 enableAudioPropertiesReport{@link #RTCEngine#enableAudioPropertiesReport} ,根据设置的 interval 值,本地会周期性地收到此回调,了解订阅的远端用户的瞬时音频信息。
远端用户的音频包括使用 RTC SDK 内部机制/自定义机制采集的麦克风音频和屏幕音频。 @param audioPropertiesInfos 远端音频信息,其中包含音频流属性、房间 ID、用户 ID ,详见 RemoteAudioPropertiesInfo{@link #RemoteAudioPropertiesInfo}。 @param totalRemoteVolume 所有订阅的远端流混音后的音量,范围是 0,255
- 0,25 接近无声; - 25,75 为低音量; - 76,204 为中音量; - 205,255 为高音量。

Implementation

FutureOr<void> onRemoteAudioPropertiesReport(
    Array<RemoteAudioPropertiesInfo> audioPropertiesInfos,
    int totalRemoteVolume) async {}