|
Meeting SDK for macOS API Reference
|
Per-frame face ROI metadata accessor. More...
#include <ZoomSDKRenderer.h>
Inherits NSObject.
Instance Methods | |
| (NSUInteger) | - getFaceCount |
| Number of valid face ROIs available for the current frame. | |
| (nullable ZoomSDKFaceROI *) | - getFaceROIByIndex: |
| Get a face ROI by zero-based index. | |
Per-frame face ROI metadata accessor.
Face ROI data is generated on the sender's device and embedded in the video stream. The receiver SDK only surfaces what the sender provides; no face detection is performed locally. Individual participants may deliver frames with zero detected faces — for example, when their device does not support face detection or detection is not currently active.
Lifetime is bound to the host ZoomSDKYUVRawDataI420. Do not retain this object past the raw data delegate callback unless the host frame has also been retained via -addRef.
Definition at line 48 of file ZoomSDKRenderer.h.
| - (NSUInteger) getFaceCount |
Number of valid face ROIs available for the current frame.
When multiple faces are present, the ROIs are ordered by the area of the detected region in descending order — index 0 corresponds to the largest (typically closest or most prominent) face.
References getFaceCount.
Referenced by getFaceCount.
| - (nullable ZoomSDKFaceROI *) getFaceROIByIndex: | (NSUInteger) | index |
Get a face ROI by zero-based index.
Faces are sorted by detected region area in descending order; index 0 is always the largest face in the frame.
| index | The zero-based index, must be < -getFaceCount. |
nil if index is out of range.