FDeviceInfo
音频设备信息。
C++
USTRUCT(BlueprintType)
struct FDeviceInfo
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DeviceInfo")
bool isLowLatencyAudioSupported = false;
FDeviceInfo(){}
FDeviceInfo(const agora::rtc::DeviceInfo & AgoraData){
isLowLatencyAudioSupported = AgoraData.isLowLatencyAudioSupported;
}
agora::rtc::DeviceInfo CreateAgoraData() const {
agora::rtc::DeviceInfo AgoraData;
AgoraData.isLowLatencyAudioSupported = isLowLatencyAudioSupported;
return AgoraData;
}
void FreeAgoraData(agora::rtc::DeviceInfo& AgoraData) const {
}
};
注意
该类仅适用于 Android 平台。
isLowLatencyAudioSupported
是否支持极低延时音频采集和播放:
true
: 支持false
: 不支持