ContentInspectModule

A ContentInspectModule structure used to configure the frequency of video screenshot and upload.

public static class ContentInspectModule {
  public int type;
  public int interval;
  public ContentInspectModule() {
    type = CONTENT_INSPECT_TYPE_INVALID;
    interval = 0;
  }

Attributes

type
Types of functional modules:
  • CONTENT_INSPECT_TYPE_INVALID(0): (Default) This module has no actual function. Do not set to this value.
  • CONTENT_INSPECT_TYPE_SUPERVISE(2): Video screenshot and upload via Agora self-developed extension. SDK takes screenshots of the video stream in the channel and uploads them.
  • CONTENT_INSPECT_TYPE_IMAGE_MODERATION(3): Video screenshot and upload via extensions from Agora Extensions Marketplace. SDK uses video moderation extensions from Agora Extensions Marketplace to take screenshots of the video stream in the channel and uploads them.
interval
The frequency (s) of video screenshot and upload. The value should be set as larger than 0. The default value is 0, the SDK does not take screenshots. Agora recommends that you set the value as 10; you can also adjust it according to your business needs.