PathStats
Used to obtain statistics for a specific network path.
class PathStats implements AgoraSerializable {
const PathStats({this.type, this.txKBitRate, this.rxKBitRate});
@JsonKey(name: 'type')
final MultipathType? type;
@JsonKey(name: 'txKBitRate')
final int? txKBitRate;
@JsonKey(name: 'rxKBitRate')
final int? rxKBitRate;
factory PathStats.fromJson(Map<String, dynamic> json) =>
_$PathStatsFromJson(json);
@override
Map<String, dynamic> toJson() => _$PathStatsToJson(this);
}
- Since
- Available since v4.6.2.
Properties
- type
- The type of network path. See MultipathType.
- txKBitRate
- The transmission bitrate on this path, in Kbps.
- rxKBitRate
- The receiving bitrate on this path, in Kbps.