FVideoRenderingTracingInfo
- Unreal Blueprint
更新时间不可用
视频帧渲染过程中的指标信息。
USTRUCT(BlueprintType)
struct FVideoRenderingTracingInfo {
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo")
int elapsedTime = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo")
int start2JoinChannel = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo")
int join2JoinSuccess = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo")
int joinSuccess2RemoteJoined = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo")
int remoteJoined2SetView = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo")
int remoteJoined2UnmuteVideo = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo")
int remoteJoined2PacketReceived = 0;
FVideoRenderingTracingInfo() {}
FVideoRenderingTracingInfo(const agora::rtc::VideoRenderingTracingInfo& AgoraData) {
elapsedTime = AgoraData.elapsedTime;
start2JoinChannel = AgoraData.start2JoinChannel;
join2JoinSuccess = AgoraData.join2JoinSuccess;
joinSuccess2RemoteJoined = AgoraData.joinSuccess2RemoteJoined;
remoteJoined2SetView = AgoraData.remoteJoined2SetView;
remoteJoined2UnmuteVideo = AgoraData.remoteJoined2UnmuteVideo;
remoteJoined2PacketReceived = AgoraData.remoteJoined2PacketReceived;
}
agora::rtc::VideoRenderingTracingInfo CreateAgoraData() const {
agora::rtc::VideoRenderingTracingInfo AgoraData;
AgoraData.elapsedTime = elapsedTime;
AgoraData.start2JoinChannel = start2JoinChannel;
AgoraData.join2JoinSuccess = join2JoinSuccess;
AgoraData.joinSuccess2RemoteJoined = joinSuccess2RemoteJoined;
AgoraData.remoteJoined2SetView = remoteJoined2SetView;
AgoraData.remoteJoined2UnmuteVideo = remoteJoined2UnmuteVideo;
AgoraData.remoteJoined2PacketReceived = remoteJoined2PacketReceived;
return AgoraData;
}
void FreeAgoraData(agora::rtc::VideoRenderingTracingInfo& AgoraData) const {
}
};属性
| 参数名 | 描述 |
|---|---|
elapsedTime | 从调用 StartMediaRenderingTracing 到触发 OnVideoRenderingTracingResult 回调的时间间隔 (ms)。建议在加入频道前调用 StartMediaRenderingTracing。 |
start2JoinChannel | 从调用 StartMediaRenderingTracing 到调用 JoinChannelWithOptions 的时间间隔 (ms)。负数表示在调用 JoinChannelWithOptions 后调用 StartMediaRenderingTracing。 |
join2JoinSuccess | |
joinSuccess2RemoteJoined | |
remoteJoined2SetView |
注:
|
remoteJoined2UnmuteVideo | |
remoteJoined2PacketReceived |
注:
|