FClientRoleOptions
用户角色属性设置。
C++
USTRUCT(BlueprintType)
struct FClientRoleOptions
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ClientRoleOptions")
EAUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel = EAUDIENCE_LATENCY_LEVEL_TYPE::AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY;
FClientRoleOptions() {}
FClientRoleOptions(const agora::rtc::ClientRoleOptions& AgoraData) {
audienceLatencyLevel = static_cast<EAUDIENCE_LATENCY_LEVEL_TYPE>(AgoraData.audienceLatencyLevel);
}
agora::rtc::ClientRoleOptions CreateAgoraData() const {
agora::rtc::ClientRoleOptions AgoraData;
AgoraData.audienceLatencyLevel = static_cast<agora::rtc::AUDIENCE_LATENCY_LEVEL_TYPE>(audienceLatencyLevel);
return AgoraData;
}
void FreeAgoraData(agora::rtc::ClientRoleOptions& AgoraData) const {
}
};
audienceLatencyLevel
观众端延时级别。详见 EAUDIENCE_LATENCY_LEVEL_TYPE。