IVideoEncodedFrameObserver
Receives encoded video images.
OnEncodedVideoFrameReceived
Occurs each time the SDK receives an encoded video image.
- (BOOL)OnEncodedVideoFrameReceived:(NSData * _Nonnull )videoData length:(size_t)length info:(AgoraEncodedVideoFrameInfo * _Nonnull)videoFrameInfo;
Parameters
- 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.
Returns
Reserved for future use.