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

Inherits <NSObject>.

Instance Methods

(void) - AgoraRtcMediaPlayer:didReceiveVideoFrame:
 

Method Documentation

◆ AgoraRtcMediaPlayer:didReceiveVideoFrame:

- (void) AgoraRtcMediaPlayer: (id< AgoraRtcMediaPlayerProtocol > _Nonnull)  playerKit
didReceiveVideoFrame: (AgoraOutputVideoFrame *_Nonnull)  videoFrame 

Occurs when each time the player receives a video frame.

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

Parameters
playerKitAgoraRtcMediaPlayer
videoFrameThe detailed information of the video frame.