PathStats
用于描述多路径传输中某一特定网络路径的统计信息。
C++
struct PathStats {
MultipathType type;
int txKBitRate;
int rxKBitRate;
PathStats() : type(Unknown), txKBitRate(0), rxKBitRate(0) {}
PathStats(MultipathType t, int tx, int rx) : type(t), txKBitRate(tx), rxKBitRate(rx) {}
};
自从
自 v4.6.0 版本新增。
type
路径的类型。详见 MultipathType。
txKBitRate
路径的传输码率,单位为 Kbps。
rxKBitRate
路径的接收码率,单位为 Kbps。