TransportStats

public class TransportStats

Stellt Transportstatistiken auf Netzwerkebene bereit.

Diese Klasse repräsentiert Low-Level-Metriken, die sich auf die zugrunde liegende Transportschicht der WebRTC-Verbindung beziehen, wie beispielsweise die verfügbare Bandbreite.

Verschachtelte Typen: TransportStats.NetworkCondition

Eigenschaften

Name Typ Beschreibung
NETWORK_CONDITION_UNKNOWN int static final Konstante: 0
NETWORK_CONDITION_CRITICAL int static final Konstante: 1
NETWORK_CONDITION_WARNING int static final Konstante: 2
NETWORK_CONDITION_FAIR int static final Konstante: 3
NETWORK_CONDITION_GOOD int static final Konstante: 4
NETWORK_CONDITION_EXCELLENT int static final Konstante: 5
NETWORK_CONDITION_REASON_NONE Zeichenfolge static final Konstante: none
NETWORK_CONDITION_REASON_BANDWIDTH Zeichenfolge static final Konstante: bandwidth
NETWORK_CONDITION_REASON_PACKET_LOSS Zeichenfolge static final Konstante: packet_loss
NETWORK_CONDITION_REASON_UNKNOWN Zeichenfolge static final Konstante: unknown
NETWORK_CONDITION_REASON_NO_SUBSCRIBERS Zeichenfolge static final Konstante: no_subscribers
NETWORK_CONDITION_REASON_DOWNSTREAM_CONSTRAINT Zeichenfolge static final Konstante: downstream_constraint
connectionEstimatedBandwidth lang Geschätzte verfügbare Verbindungsbandbreite in Bit pro Sekunde (bps).
networkCondition int Aktuelle Bewertung des Netzwerkzustands.
networkConditionReason Zeichenfolge Der Hauptgrund, der den aktuellen Netzwerkzustand beeinflusst. Dieser Wert gibt den ausschlaggebenden Faktor an, der den Netzwerkzustandswert beeinflusst, wie beispielsweise Bandbreitenbeschränkungen, Paketverluste oder andere netzwerkbezogene Ursachen.

Methoden

Name Beschreibung
TransportStats(connectionEstimatedBandwidth, networkCondition, networkConditionReason)

TransportStats(geschätzteBandbreiteDerVerbindung, Netzwerkzustand, GrundFürNetzwerkzustand)

Parameter:
Name Typ Beschreibung
connectionEstimatedBandwidth lang
networkCondition int
networkConditionReason Zeichenfolge