RTCRtpStreamStats class

The dictionary is returned by the RTCPeerConnection.getStats(), RTCRtpSender.getStats(), and RTCRtpReceiver.getStats() methods to provide detailed statistics about WebRTC connectivity. While the dictionary has a base set of properties that are present in each of these cases, there are also additional properties added depending on which interface the method is called on. is the base class for all RTP-related statistics reports. It's based on RTCStats and adds the following additional fields.

Note: This interface was called RTCRTPStreamStats until a specification update in the spring of 2017. Check the Browser compatibility table to know if and when the name change was implemented in specific browsers.

Implemented types
Implementers
Available extensions
Annotations
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

RTCRtpStreamStats({required int ssrc, required String kind, String? transportId, String? codecId})
factory

Properties

codecId String

Available on RTCRtpStreamStats, provided by the PropsRTCRtpStreamStats extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String

Available on RTCStats, provided by the PropsRTCStats extension

getter/setter pair
kind String

Available on RTCRtpStreamStats, provided by the PropsRTCRtpStreamStats extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ssrc int

Available on RTCRtpStreamStats, provided by the PropsRTCRtpStreamStats extension

getter/setter pair
timestamp double

Available on RTCStats, provided by the PropsRTCStats extension

getter/setter pair
transportId String

Available on RTCRtpStreamStats, provided by the PropsRTCRtpStreamStats extension

getter/setter pair
type RTCStatsType

Available on RTCStats, provided by the PropsRTCStats extension

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