ContentInspectConfig

Configures video screenshot and upload functionality.

struct ContentInspectConfig {
  const char* extraInfo;
  const char* serverConfig;
  ContentInspectModule modules[MAX_CONTENT_INSPECT_MODULE_COUNT];
  int moduleCount;
};

The SDK uploads video screenshots and additional information to the Agora server. After the upload is complete, the Agora server sends callback notifications and additional information to your server.

Note: Only one instance can be configured per functional module. Currently, only local screenshot upload is supported.

Properties

extraInfo
Additional information about the video content (maximum length is 1024 bytes).
serverConfig
(Optional) Server configuration for uploading video screenshots via the Agora Extensions Marketplace. This parameter only takes effect when type in ContentInspectModule is set to CONTENT_INSPECT_IMAGE_MODERATION. To use this feature, please contact technical support.
modules
Functional modules. You can configure up to 32 ContentInspectModule instances. See ContentInspectModule.
Note: Only one instance can be configured per functional module. Currently, only local screenshot upload is supported.
moduleCount
Number of functional modules, i.e., the number of configured ContentInspectModule instances. Must match the number of instances configured in modules. Maximum is 32.