# agora::rtc::RemoteVideoTrackStats结构体 参考 (/zh-CN/api-reference/rtc-server-sdk/cpp/structagora-1-1rtc-1-1-remote-video-track-stats)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="details"></a>

## 详细描述 [#详细描述]

[RemoteVideoTrackStats](/zh-CN/api-reference/rtc-server-sdk/cpp/structagora-1-1rtc-1-1-remote-video-track-stats) 结构体。

## 构造及析构函数说明 [#构造及析构函数说明]

<a id="a48975319824f82f98cfe7b0b5e0c0c27"></a>

### RemoteVideoTrackStats() [#remotevideotrackstats]

<ApiSignature labels="inline">

agora::rtc::RemoteVideoTrackStats::RemoteVideoTrackStats()

</ApiSignature>

## 类成员变量说明 [#类成员变量说明]

<a id="a79190b1a920b230804d2eb0690bb2a3f"></a>

### uid [#uid]

<ApiSignature>

[uid_t](/zh-CN/api-reference/rtc-server-sdk/cpp/namespaceagora-1-1rtc#ab650539cb2bdcf8382d0aa32c6d70aa7) agora::rtc::RemoteVideoTrackStats::uid

</ApiSignature>

远端用户 ID。

<a id="a4795e78dec0cb680556335ec968dc8a0"></a>

### delay [#delay]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::delay

</ApiSignature>

延时（毫秒）。

<a id="a4a210e28f2340b4bde874544e00c90cd"></a>

### width [#width]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::width

</ApiSignature>

视频帧宽度（像素）。

<a id="af729072ead04cc91ca9d0ccf711d17ca"></a>

### height [#height]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::height

</ApiSignature>

视频帧高度（像素）。

<a id="a0ac25d503b0b82a3c5b8b9766be0dbc5"></a>

### receivedBitrate [#receivedbitrate]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::receivedBitrate

</ApiSignature>

（上次统计后）接收到的码率(Kbps)。

<a id="aa9098e39c1df512c657f94497e8efde3"></a>

### decoderOutputFrameRate [#decoderoutputframerate]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::decoderOutputFrameRate

</ApiSignature>

远端视频解码器的输出帧率，单位为 fps。

<a id="a672f94861a642354aab13513ae37f215"></a>

### rendererOutputFrameRate [#rendereroutputframerate]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::rendererOutputFrameRate

</ApiSignature>

远端视频渲染器的输出帧率，单位为 fps。

<a id="a010c7db2ca2b4b30936196c79e673ee8"></a>

### frameLossRate [#framelossrate]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::frameLossRate

</ApiSignature>

远端视频丢包率(%)。

<a id="ac9203a7a86c23358ae4aa35836dd57c5"></a>

### packetLossRate [#packetlossrate]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::packetLossRate

</ApiSignature>

远端视频在使用抗丢包技术之后的丢包率(%)。

<a id="a20c923e6c8db2f5de29655a22e184cfa"></a>

### rxStreamType [#rxstreamtype]

<ApiSignature>

[VIDEO_STREAM_TYPE](/zh-CN/api-reference/rtc-server-sdk/cpp/namespaceagora-1-1rtc#a5f78a8dc3552e4ec308270198dd49b55) agora::rtc::RemoteVideoTrackStats::rxStreamType

</ApiSignature>

视频流类型，大流或小流。详见： [VIDEO_STREAM_TYPE](/zh-CN/api-reference/rtc-server-sdk/cpp/namespaceagora-1-1rtc#a5f78a8dc3552e4ec308270198dd49b55)。

<a id="a2e5329d58edbdcd91a945e9ae200c999"></a>

### totalFrozenTime [#totalfrozentime]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::totalFrozenTime

</ApiSignature>

远端用户在加入频道后发生视频卡顿的累计时长（ms）。通话过程中，视频帧率设置不低于 5 fps 时，连续渲染的两帧视频之间间隔超过 500 ms，则记为一次视频卡顿。

<a id="ae6ea0799f78d531150c10f5d6a2327aa"></a>

### frozenRate [#frozenrate]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::frozenRate

</ApiSignature>

远端用户在加入频道后发生视频卡顿的累计时长占视频总有效时长的百分比 (%)。视频有效时长是指远端用户加入频道后视频未被停止发送或禁用的时长。

<a id="af5d0932251cbe710ada0acef86fd2460"></a>

### totalDecodedFrames [#totaldecodedframes]

<ApiSignature>

uint32_t agora::rtc::RemoteVideoTrackStats::totalDecodedFrames

</ApiSignature>

解码视频帧的数量。

<a id="a728709b3a050a477c4b706d27b3b2778"></a>

### avSyncTimeMs [#avsynctimems]

<ApiSignature>

int agora::rtc::RemoteVideoTrackStats::avSyncTimeMs

</ApiSignature>

音频超前视频的时间 (ms)。如果为负值，则代表音频落后于视频。

<a id="a61942ff207cde790e6d3fc1383afc6b0"></a>

### downlink_process_time_ms [#downlink_process_time_ms]

<ApiSignature>

uint32_t agora::rtc::RemoteVideoTrackStats::downlink_process_time_ms

</ApiSignature>

从收到第一个网络视频包到视频帧开启渲染的平均时差（毫秒）。

<a id="a5f1b99581334a018a553ff22bdbd020e"></a>

### frame_render_delay_ms [#frame_render_delay_ms]

<ApiSignature>

uint32_t agora::rtc::RemoteVideoTrackStats::frame_render_delay_ms

</ApiSignature>

如果为负值，则代表音频落后于视频。

<a id="a048611582a127481e8fe187ca62c7d6d"></a>

### totalActiveTime [#totalactivetime]

<ApiSignature>

uint64_t agora::rtc::RemoteVideoTrackStats::totalActiveTime

</ApiSignature>

视频有效时长（毫秒）。视频总有效时长是远端用户或主播加入频道后，既没有停止发送视频流，也没有禁用视频模块的通话时长。

<a id="ad51eaf83ea0a01215f6f55231818bf11"></a>

### publishDuration [#publishduration]

<ApiSignature>

uint64_t agora::rtc::RemoteVideoTrackStats::publishDuration

</ApiSignature>

远端视频流的累计发布时长（毫秒）。
