|
Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
| (BOOL) | - onEncodedVideoFrameReceived:length:info:channelId:uid: |
This protocol defines the callback method for receiving encoded video frames sent by the remote end. You can implement this method to process the received encoded video frames as needed.
|
optional |
Reports that the receiver has received the to-be-decoded video frame sent by the remote end.
If you call the setRemoteVideoSubscriptionOptions:options: method and set encodedFrameOnly to YES, the SDK triggers this callback locally to report the received encoded video frame information.
| videoData | The encoded video image data. |
| length | The data length of the video image. |
| videoFrameInfo | For the information of the encoded video frame, see AgoraEncodedVideoFrameInfo. |
| channelId | The channel name. |
| uid | The user id of remote user. |