Documentation
Voice Call (Legacy)
API Reference
AgoraVideoEncodedFrameProtocol Protocol Reference
Agora Objective-C API Reference for iOS/macOS
AgoraVideoEncodedFrameProtocol Protocol Reference
Conforms to |
NSObject |
Declared in |
AgoraVideoFrame.h |
Overview
The protocol of local encoded video frame.
Note: This protocol applies to iOS only.
Gets the local encoded video frame.
- (BOOL)onVideoEncodedFrame:(AgoraVideoEncodedFrame *)VideoEncodedFrame
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