AgoraVideoEncodedFrameProtocol Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | AgoraVideoFrame.h |
– onVideoEncodedFrame:
required method
Gets the local encoded video frame.
- (BOOL)onVideoEncodedFrame:(AgoraVideoEncodedFrame *)VideoEncodedFrame
Parameters
VideoEncodedFrame |
The local encoded video frame. See AgoraVideoEncodedFrame. |
---|
Return Value
- YES: Reserved for future use.
- NO: Reserved for future use.
Availability
v3.4.5
After you successfully register the local encoded video frame protocol, the
SDK triggers this callback each time a video frame is received. You can get
the local encoded video frame in VideoEncodedFrame
and then process the
video data according to your scenario. After processing, you can use
VideoEncodedFrame
to pass the processed video data back to the SDK.
Discussion
Note: This callback applies to iOS only.
Declared In
AgoraVideoFrame.h