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.
info
Face detection information.channel
Publishing 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;