IAudioFrameObserver

The audio frame observer.

You can call registerAudioFrameObserver to register or unregister the IAudioFrameObserver audio frame observer.

onPlaybackAudioFrameBeforeMixing

Retrieves the audio frame before mixing of subscribed remote users.

virtual bool onPlaybackAudioFrameBeforeMixing(const char* channelId, rtc::uid_t uid, AudioFrame& audioFrame) = 0;

Parameters

channelId
The channel ID.
uid
The ID of subscribed remote users.
audioFrame
The raw audio data. See AudioFrame.

Returns

Without practical meaning.