onProcessScreenAudioFrame method

FutureOr<int> onProcessScreenAudioFrame(
  1. IAudioFrame audioFrame
)

@detail callback @author zhangcaining @brief Returns the address of the shared-screen audio frames for custom processing. @param audioFrame The address of audio frames. See IAudioFrame{@link #IAudioFrame}. @note After calling enableAudioProcessor{@link #RTCEngine#enableAudioProcessor} to set the audio input to the shared-screen audio, you will receive this callback every 10 ms.

Implementation

FutureOr<int> onProcessScreenAudioFrame(IAudioFrame audioFrame) async {
  throw UnimplementedError();
}