Agora RTC Objective-C API Reference  Refactor
Instance Methods
<AgoraRtcMediaPlayerAudioFrameDelegate> Protocol Reference

Inherits <NSObject>.

Instance Methods

(void) - AgoraRtcMediaPlayer:didReceiveAudioFrame:
 

Method Documentation

◆ AgoraRtcMediaPlayer:didReceiveAudioFrame:

- (void) AgoraRtcMediaPlayer: (id< AgoraRtcMediaPlayerProtocol > _Nonnull)  playerKit
didReceiveAudioFrame: (AgoraAudioFrame *_Nonnull)  audioFrame 

Occurs each time the player receives an audio frame.

After registering the audio frame observer, the callback occurs every time the player receives an audio frame, reporting the detailed information of the audio frame.

Parameters
audioFrameThe audio frame information. See AgoraAudioFrame.
playerKitSee AgoraRtcMediaPlayerProtocol.