FContentInspectModule
FContentInspectModule
结构体,用于配置本地截图上传的频率。
C++
USTRUCT(BlueprintType)
struct FContentInspectModule {
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ContentInspectModule")
ECONTENT_INSPECT_TYPE type = ECONTENT_INSPECT_TYPE::CONTENT_INSPECT_INVALID;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ContentInspectModule")
int64 interval = 0;
FContentInspectModule(){}
FContentInspectModule(const agora::media::ContentInspectModule & AgoraData){
type = static_cast<ECONTENT_INSPECT_TYPE>(AgoraData.type);
interval = AgoraData.interval;
}
agora::media::ContentInspectModule CreateAgoraData() const {
agora::media::ContentInspectModule AgoraData;
AgoraData.type = static_cast<agora::media::CONTENT_INSPECT_TYPE>(type);
AgoraData.interval = interval;
return AgoraData;
}
void FreeAgoraData(agora::media::ContentInspectModule & AgoraData) const {
}
};
type
功能模块的类型。详见 ECONTENT_INSPECT_TYPE。
interval
本地截图上传的间隔,单位为秒,取值必须大于 0。默认值为 0,表示不进行截图上传。推荐值为 10 秒,你也可以根据业务需求自行调整。