onPublisherFaceDetectInfo property
getter/setter pair
Face detection information update notification.
Available since: 3.20.0
Description: The notification for face detection.
When to trigger: Turn on face detection through the enableFaceDetection interface, and this callback will be triggered when the camera is started or the number of faces changes.
Caution: The callback is low-frequency and cannot be used with the custom video pre-processing function.
infoFace detection information.channelPublishing stream channel.If you only publish one audio and video stream, you can ignore this parameter.
Implementation
static void Function(ZegoFaceDetectionInfo info, ZegoPublishChannel channel)?
onPublisherFaceDetectInfo;