FRemoteVideoStats
- Unreal Blueprint
更新时间不可用
远端视频流的统计信息。
USTRUCT(BlueprintType)
struct FRemoteVideoStats {
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int64 uid = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int delay = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int e2eDelay = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int width = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int height = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int receivedBitrate = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int decoderOutputFrameRate = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int rendererOutputFrameRate = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int frameLossRate = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int packetLossRate = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
EVIDEO_STREAM_TYPE rxStreamType = EVIDEO_STREAM_TYPE::VIDEO_STREAM_HIGH;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int totalFrozenTime = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int frozenRate = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int avSyncTimeMs = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int totalActiveTime = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int publishDuration = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int mosValue = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats")
int64 rxVideoBytes = 0;
FRemoteVideoStats(){}
FRemoteVideoStats(const agora::rtc::RemoteVideoStats & AgoraData){
uid = AgoraData.uid;
delay = AgoraData.delay;
e2eDelay = AgoraData.e2eDelay;
width = AgoraData.width;
height = AgoraData.height;
receivedBitrate = AgoraData.receivedBitrate;
decoderOutputFrameRate = AgoraData.decoderOutputFrameRate;
rendererOutputFrameRate = AgoraData.rendererOutputFrameRate;
frameLossRate = AgoraData.frameLossRate;
packetLossRate = AgoraData.packetLossRate;
rxStreamType = static_cast<EVIDEO_STREAM_TYPE>(AgoraData.rxStreamType);
totalFrozenTime = AgoraData.totalFrozenTime;
frozenRate = AgoraData.frozenRate;
avSyncTimeMs = AgoraData.avSyncTimeMs;
totalActiveTime = AgoraData.totalActiveTime;
publishDuration = AgoraData.publishDuration;
mosValue = AgoraData.mosValue;
rxVideoBytes = AgoraData.rxVideoBytes;
}
agora::rtc::RemoteVideoStats CreateAgoraData() const {
agora::rtc::RemoteVideoStats AgoraData;
AgoraData.uid = uid;
AgoraData.delay = delay;
AgoraData.e2eDelay = e2eDelay;
AgoraData.width = width;
AgoraData.height = height;
AgoraData.receivedBitrate = receivedBitrate;
AgoraData.decoderOutputFrameRate = decoderOutputFrameRate;
AgoraData.rendererOutputFrameRate = rendererOutputFrameRate;
AgoraData.frameLossRate = frameLossRate;
AgoraData.packetLossRate = packetLossRate;
AgoraData.rxStreamType = static_cast<agora::rtc::VIDEO_STREAM_TYPE>(rxStreamType);
AgoraData.totalFrozenTime = totalFrozenTime;
AgoraData.frozenRate = frozenRate;
AgoraData.avSyncTimeMs = avSyncTimeMs;
AgoraData.totalActiveTime = totalActiveTime;
AgoraData.publishDuration = publishDuration;
AgoraData.mosValue = mosValue;
AgoraData.rxVideoBytes = rxVideoBytes;
return AgoraData;
}
void FreeAgoraData(agora::rtc::RemoteVideoStats & AgoraData) const {
}
};属性
| 参数名 | 描述 |
|---|---|
uid | |
delay | 弃用: 在有音画同步机制的音视频场景中,你可以参考 FRemoteAudioStats 里的 networkTransportDelay 和 jitterBufferDelay 成员的值,了解视频的延迟数据。 延时(毫秒)。 |
e2eDelay | |
width | |
height | |
receivedBitrate | |
decoderOutputFrameRate | |
rendererOutputFrameRate | |
frameLossRate | |
packetLossRate | |
rxStreamType | 视频流类型,大流或小流。详见 EVIDEO_STREAM_TYPE。 |
totalFrozenTime | |
frozenRate | |
totalActiveTime | |
publishDuration | |
avSyncTimeMs |