IAudioFrameObserver

The audio frame observer.

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

onPlaybackAudioFrameBeforeMixing

Retrieves the audio frame of a specified user before mixing.

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

Parameters

channelId
The channel ID.
uid
The user ID of the specified user.
audioFrame
The raw audio data. See AudioFrame.

Returns

Without practical meaning.