Package io.agora.rtc2.video
Class ContentInspectConfig
java.lang.Object
io.agora.rtc2.video.ContentInspectConfig
- Since:
- v3.4.2.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int3: Video screenshot and upload via extensions from Agora Extensions Marketplace.static final int0: (Default) No actual function.static final intDeprecated.Content inspect type moderationstatic final int2: Video screenshot and upload via Agora self-developed extension.Additional information on the video content (maximum length: 1024 Bytes).static final intintThe number of functional modules, that is,the number of configured `ContentInspectModule` instances, must be the same as the number of instances configured in `modules`.Functional module.(Optional) Server configuration related to uploading video screenshots via extensions from Agora Extensions Marketplace. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CONTENT_INSPECT_TYPE_INVALID
public static final int CONTENT_INSPECT_TYPE_INVALID0: (Default) No actual function. Do not set `type` to this value.- See Also:
-
CONTENT_INSPECT_TYPE_MODERATION
Deprecated.Content inspect type moderation- See Also:
-
CONTENT_INSPECT_TYPE_SUPERVISE
public static final int CONTENT_INSPECT_TYPE_SUPERVISE2: 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_MODERATION3: 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
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
(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 moduleCountThe 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()
-