|
Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
| (void) | - AgoraRtcMediaPlayer:didReceiveAudioFrame: |
This protocol defines the callbacks for processing audio frames from the media player. You can implement these methods to receive and process audio frames played by the media player.
| - (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.
| audioFrame | The audio frame information. See AgoraAudioFrame. |
| playerKit | See AgoraRtcMediaPlayerProtocol. |