RtcIceCandidatePairStats class
ICE candidate pair statistics related to the RTCIceTransport objects.
A candidate pair that is not the current pair for a transport is deleted when the RTCIceTransport does an ICE restart, at the time the state changes to new.
A candidate pair that is the current pair for a transport is deleted after an ICE restart when the RTCIceTransport switches to using a candidate pair generated from the new candidates; this time doesn't correspond to any other externally observable event.
- Inheritance
-
- Object
- RtcStatsType
- RtcIceCandidatePairStats
Constructors
- RtcIceCandidatePairStats(RtcStatsIceCandidatePairState state, bool? nominated, int? bytesSent, int? bytesReceived, double? totalRoundTripTime, double? currentRoundTripTime, double? availableOutgoingBitrate)
Properties
- availableOutgoingBitrate ↔ double?
-
Calculated by the underlying congestion control by combining the available
bitrate for all the outgoing RTP streams using this candidate pair. The
bitrate measurement does not count the size of the IP or other transport
layers like TCP or UDP. It is similar to the TIAS defined in RFC 3890,
i.e. it is measured in bits per second and the bitrate is calculated over
a 1 second window.
getter/setter pair
- bytesReceived ↔ int?
-
Total number of payload bytes received on this candidate pair, i.e. not
including headers or padding.
getter/setter pair
- bytesSent ↔ int?
-
Total number of payload bytes sent on this candidate pair, i.e. not
including headers or padding.
getter/setter pair
- currentRoundTripTime ↔ double?
-
Latest round trip time measured in seconds, computed from both STUN
connectivity checks STUN-PATH-CHAR, including those that are sent for
consent verification RFC 7675.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nominated ↔ bool?
-
Related to updating the nominated flag described in
Section 7.1.3.2.4 of RFC 5245.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ RtcStatsIceCandidatePairState
-
State of the checklist for the local and remote candidates in a pair.
getter/setter pair
- totalRoundTripTime ↔ double?
-
Sum of all round trip time measurements in seconds since the beginning of
the session, based on STUN connectivity check STUN-PATH-CHAR responses
(responsesReceived), including those that reply to requests that are
sent in order to verify consent RFC 7675.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromFFI(
RtcStatsType_RtcIceCandidatePairStats stats) → RtcIceCandidatePairStats -
Creates RtcIceCandidatePairStats basing on the
ffi.RtcStatsType_RtcIceCandidatePairStats
received from the native side.override -
fromMap(
dynamic stats) → RtcIceCandidatePairStats -
Creates RtcIceCandidatePairStats basing on the Map received from the
native side.
override