RtcTransportStats class

Transport statistics related to the RTCPeerConnection object.

Inheritance

Constructors

RtcTransportStats(int? packetsSent, int? packetsReceived, int? bytesSent, int? bytesReceived, IceRole? iceRole)

Properties

bytesReceived int?
Total number of bytes received on this RTCPeerConnection, i.e. not including headers or padding.
getter/setter pair
bytesSent int?
Total number of payload bytes sent on this RTCPeerConnection, i.e. not including headers or padding.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iceRole IceRole?
Set to the current value of the role of the underlying RTCDtlsTransport's transport.
getter/setter pair
packetsReceived int?
Total number of packets received on this transport.
getter/setter pair
packetsSent int?
Total number of packets sent over this transport.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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_RtcTransportStats stats) RtcTransportStats
Creates RtcIceCandidatePairStats basing on the ffi.RtcStatsType_RtcIceCandidatePairStats received from the native side.
override
fromMap(dynamic stats) RtcTransportStats
Creates RtcTransportStats basing on the Map received from the native side.
override