#include <AgoraMediaBase.h>
◆ onPlaybackAudioFrameBeforeMixing() [1/2]
| virtual bool IAudioFrameObserverBase::onPlaybackAudioFrameBeforeMixing |
( |
const char * | channelId, |
|
|
base::user_id_t | userId, |
|
|
AudioFrame & | audioFrame ) |
|
inlinevirtual |
Occurs when the before-mixing playback audio frame is received.
- Parameters
-
| channelId | A null pointer |
| userId | ID of the remote user. |
| audioFrame | The reference to the audio frame: AudioFrame. |
- Returns
- true: The before-mixing playback audio frame is valid and is encoded and sent.
- false: The before-mixing playback audio frame is invalid and is not encoded or sent.
Reimplemented from IAudioFrameObserverBase.
◆ onPlaybackAudioFrameBeforeMixing() [2/2]
| virtual bool IAudioFrameObserver::onPlaybackAudioFrameBeforeMixing |
( |
const char * | channelId, |
|
|
rtc::uid_t | uid, |
|
|
AudioFrame & | audioFrame ) |
|
pure virtual |
Occurs when the before-mixing playback audio frame is received.
- Parameters
-
| channelId | A null pointer. |
| uid | ID of the remote user. |
| audioFrame | The reference to the audio frame: AudioFrame. |
- Returns
- true: The before-mixing playback audio frame is valid and is encoded and sent.
- false: The before-mixing playback audio frame is invalid and is not encoded or sent.
The documentation for this class was generated from the following file: