Class ContentInspectConfig

java.lang.Object
io.agora.rtc2.video.ContentInspectConfig

public class ContentInspectConfig extends Object
Since:
v3.4.2.
  • Field Details

    • CONTENT_INSPECT_TYPE_INVALID

      public static final int CONTENT_INSPECT_TYPE_INVALID
      0: (Default) No actual function. Do not set `type` to this value.
      See Also:
    • CONTENT_INSPECT_TYPE_MODERATION

      @Deprecated public static final int CONTENT_INSPECT_TYPE_MODERATION
      Deprecated.
      Content inspect type moderation
      See Also:
    • CONTENT_INSPECT_TYPE_SUPERVISE

      public static final int CONTENT_INSPECT_TYPE_SUPERVISE
      2: Video screenshot and upload via Agora self-developed extension. The SDK takes screenshots of videos sent by local users and upload them.
      See Also:
    • CONTENT_INSPECT_TYPE_IMAGE_MODERATION

      public static final int 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.
      See Also:
    • MAX_CONTENT_INSPECT_MODULE_COUNT

      public static final int MAX_CONTENT_INSPECT_MODULE_COUNT
      See Also:
    • extraInfo

      public String extraInfo
      Additional information on the video content (maximum length: 1024 Bytes). The SDK sends the screenshots and additional information on the video content to the Agora server. Once the video screenshot and upload process is completed, the Agora server sends the additional information and the callback notification to your server.
    • serverConfig

      public String serverConfig
      (Optional) Server configuration related to uploading video screenshots via extensions from Agora Extensions Marketplace. This parameter only takes effect when `type` in `ContentInspectModule` is set to `CONTENT_INSPECT_TYPE_IMAGE_MODERATION`. If you want to use it, contact `technical support`.
    • modules

      Functional module. See `ContentInspectModule`. A maximum of 32 `ContentInspectModule` instances can be configured, and the value range of `MAX_CONTENT_INSPECT_MODULE_COUNT` is an integer in [1,32].
    • moduleCount

      public int moduleCount
      The number of functional modules, that is,the number of configured `ContentInspectModule` instances, must be the same as the number of instances configured in `modules`. The maximum number is 32.
  • Constructor Details

    • ContentInspectConfig

      public ContentInspectConfig()