onProcessEarMonitorAudioFrame method
@valid since 3.50
@detail callback
@author songxiaomeng.19
@brief You will receive the address of SDK-level in-ear monitoring audio frames for custom processing.
The audio effects set by setVoiceReverbType and setVoiceChangerType are included.
@param audioFrame The address of the SDK-level in-ear monitoring audio frames. See IAudioFrame{@link #IAudioFrame}.
@return
- 0: Success.
- <0: Failure.
@note
- Modifying the data affects only SDK-level in-ear monitoring audio.
- To enable this callback, call enableAudioProcessor{@link #RTCEngine#enableAudioProcessor}. You will receive this callback every 10 ms.
Implementation
FutureOr<int> onProcessEarMonitorAudioFrame(IAudioFrame audioFrame) async {
throw UnimplementedError();
}