FClientRoleOptions
Setting of user role properties.
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 {
}
};
Attributes
- audienceLatencyLevel
- The latency level of an audience member in interactive live streaming. See EAUDIENCE_LATENCY_LEVEL_TYPE.