Public 属性 | |
int | type |
int | interval |
ContentInspectModule
类,用于配置视频截图上传模块的类型和频率。
int io.agora.rtc.models.ContentInspectConfig.ContentInspectModule.type |
视频截图上传模块的类型:
CONTENT_INSPECT_TYPE_INVALID(0)
:(默认)该功能模块无实际功能。请不要将 type
设为该值。CONTENT_INSPECT_TYPE_MODERATION(1)
:预留参数。CONTENT_INSPECT_TYPE_SUPERVISE(2)
:截图。SDK 会对视频流进行截图并上传。 int io.agora.rtc.models.ContentInspectConfig.ContentInspectModule.interval |
截图上传的间隔,单位为秒,取值必须大于 0。默认值为 0,表示不进行截图上传。
推荐值为 10 秒,你也可以根据业务需求自行调整。