RTCTransportStats extension type
The RTCTransportStats
dictionary of the
WebRTC API
provides information about the transport (RTCDtlsTransport and its
underlying RTCIceTransport) used by a particular candidate pair.
The BUNDLE feature is an SDP extension that allows negotiation to use a
single transport for sending and receiving media described by multiple SDP
media descriptions.
If the remote endpoint is aware of this feature, all MediaStreamTrack and
data channels are bundled onto a single transport at the completion of
negotiation.
This is true for current browsers, but if connecting to an older endpoint
that is not BUNDLE-aware, then separate transports might be used for
different media.
The policy to use in the negotiation is configured in the
RTCPeerConnection
constructor.
These statistics can be obtained by iterating the RTCStatsReport returned
by RTCPeerConnection.getStats until you find a report with the
type
of transport
.
Constructors
- RTCTransportStats({int packetsSent, int packetsReceived, int bytesSent, int bytesReceived, RTCIceRole iceRole, String iceLocalUsernameFragment, required RTCDtlsTransportState dtlsState, RTCIceTransportState iceState, String selectedCandidatePairId, String localCertificateId, String remoteCertificateId, String tlsVersion, String dtlsCipher, RTCDtlsRole dtlsRole, String srtpCipher, int selectedCandidatePairChanges})
-
factory
Properties
- bytesReceived ↔ int
-
getter/setter pair
- bytesSent ↔ int
-
getter/setter pair
- dtlsCipher ↔ String
-
getter/setter pair
- dtlsRole ↔ RTCDtlsRole
-
getter/setter pair
- dtlsState ↔ RTCDtlsTransportState
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iceLocalUsernameFragment ↔ String
-
getter/setter pair
- iceRole ↔ RTCIceRole
-
getter/setter pair
- iceState ↔ RTCIceTransportState
-
getter/setter pair
- id ↔ String
-
getter/setter pairinherited
- localCertificateId ↔ String
-
getter/setter pair
- packetsReceived ↔ int
-
getter/setter pair
- packetsSent ↔ int
-
getter/setter pair
- remoteCertificateId ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedCandidatePairChanges ↔ int
-
getter/setter pair
- selectedCandidatePairId ↔ String
-
getter/setter pair
- srtpCipher ↔ String
-
getter/setter pair
- timestamp ↔ DOMHighResTimeStamp
-
getter/setter pairinherited
- tlsVersion ↔ String
-
getter/setter pair
- type ↔ RTCStatsType
-
getter/setter pairinherited
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