# MultipathStats (/zh-CN/api-reference/rtc/electron/class-multipathstats)

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

<a id="class_multipathstats__prototype"></a>

```ts
export class MultipathStats {
lanTxBytes?: number;
lanRxBytes?: number;
wifiTxBytes?: number;
wifiRxBytes?: number;
mobileTxBytes?: number;
mobileRxBytes?: number;
activePathNum?: number;
pathStats?: PathStats[];
}
```

<a id="class_multipathstats__detailed_desc"></a>

:::info[自从]
自 v4.6.2 版本新增。
:::

<a id="class_multipathstats__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="lantxbytes"></a>
<Parameter name="lanTxBytes">

通过 LAN 路径发送的字节总数。

</Parameter>
<a id="lanrxbytes"></a>
<Parameter name="lanRxBytes">

通过 LAN 路径接收的字节总数。

</Parameter>
<a id="wifitxbytes"></a>
<Parameter name="wifiTxBytes">

通过 Wi-Fi 路径发送的字节总数。

</Parameter>
<a id="wifirxbytes"></a>
<Parameter name="wifiRxBytes">

通过 Wi-Fi 路径接收的字节总数。

</Parameter>
<a id="mobiletxbytes"></a>
<Parameter name="mobileTxBytes">

通过移动网络路径发送的字节总数。

</Parameter>
<a id="mobilerxbytes"></a>
<Parameter name="mobileRxBytes">

通过移动网络路径接收的字节总数。

</Parameter>
<a id="activepathnum"></a>
<Parameter name="activePathNum">

当前活跃的传输路径数量。

</Parameter>
<a id="pathstats"></a>
<Parameter name="pathStats">

每个活跃传输路径的统计信息数组。详见 [PathStats](/zh-CN/api-reference/rtc/electron/class-pathstats)。

</Parameter>
</ParameterList>
