|
Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
| (void) | - AgoraRtcMediaPlayer:didReceiveVideoFrame: |
| (void) | - AgoraRtcMediaPlayer:didReceivePixelBuffer: |
| (AgoraVideoFormat) | - AgoraRtcMediaPlayerGetVideoPixelFormat |
|
optional |
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.
| playerKit | AgoraRtcMediaPlayer |
| videoFrame | The detailed information of the video frame. |
|
optional |
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 CVPixelBufferRef.
| playerKit | AgoraRtcMediaPlayer |
| pixelBuffer | The detailed information of the CVPixelBufferRef. Format define by AgoraRtcMediaPlayerGetVideoPixelFormat. |
|
optional |
Occurs each time needs to get preference video frame type.