FContentInspectModule

FContentInspectModuleA structure used to configure the frequency of video screenshot and upload.

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 {
	}
};

Attributes

type
Types of functional module. See ECONTENT_INSPECT_TYPE.
interval
The frequency (s) of video screenshot and upload. The value should be set as larger than 0. The default value is 0, the SDK does not take screenshots. Agora recommends that you set the value as 10; you can also adjust it according to your business needs.