onRemoteAudioPropertiesReport property
FutureOr<void> Function(List<RemoteAudioPropertiesInfo> audioPropertiesInfos, int totalRemoteVolume)?
onRemoteAudioPropertiesReport
getter/setter pair
@detail callback
@author gongzhengduo
@brief After calling enableAudioPropertiesReport{@link #RTCEngine#enableAudioPropertiesReport}, you will periodically receive this callback for the instantaneous information about the subscribed remote audio streams.
The remote audio streams includes the microphone audio and screen audio collected using the RTC SDK internal mechanism/custom mechanism.
@param audioPropertiesInfos See RemoteAudioPropertiesInfo{@link #RemoteAudioPropertiesInfo}.
@param totalRemoteVolume The volume of the mixing of all the subscribed audio streams. The range is 0,255.
- 0,25 Is close to silent;
- 25,75 Is low volume;
- 76,204 Is medium volume;
- 205,255 Is high volume.
Implementation
FutureOr<void> Function(List<RemoteAudioPropertiesInfo> audioPropertiesInfos,
int totalRemoteVolume)? onRemoteAudioPropertiesReport;