IAudioFrameObserver

Audio frame observer.

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

OnPlaybackAudioFrameBeforeMixing

Gets the audio of the subscribed remote user before mixing.

public virtual bool OnPlaybackAudioFrameBeforeMixing(string channel_id,
                                                        uint uid,
                                                        AudioFrame audio_frame)
        {
            return false;
        }

Parameters

channel_id
Channel ID.
uid
The ID of the subscribed remote user.
audio_frame
The raw audio data. See AudioFrame.

Return Values

No practical meaning.