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 when each time the player receives an audio frame.

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

Parameters
playerKitAgoraRtcMediaPlayer
audioFrameThe detailed information of the audio frame.