RtcOutboundRtpStreamStats class
Statistics for an outbound RTP stream that is currently sent with RTCPeerConnection object.
When there are multiple RTP streams connected to the same sender, such as when using simulcast or RTX, there will be one RTCOutboundRtpStreamStats per RTP stream, with distinct values of the SSRC attribute, and all these senders will have a reference to the same "sender" object (of type RTCAudioSenderStats or RTCVideoSenderStats) and "track" object (of type RTCSenderAudioTrackAttachmentStats or RTCSenderVideoTrackAttachmentStats).
- Inheritance
-
- Object
- RtcStatsType
- RtcOutboundRtpStreamStats
Constructors
- RtcOutboundRtpStreamStats(String? trackId, RtcOutboundRtpStreamStatsMediaType? mediaType, int? bytesSent, int? packetsSent, String? mediaSourceId)
Properties
- bytesSent ↔ int?
-
Total number of bytes sent for this SSRC.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mediaSourceId ↔ String?
-
ID of the stats object representing the track currently attached to the
sender of the stream.
getter/setter pair
- mediaType ↔ RtcOutboundRtpStreamStatsMediaType?
-
getter/setter pair
- packetsSent ↔ int?
-
Total number of RTP packets sent for this SSRC.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trackId ↔ String?
-
ID of the stats object representing the current track attachment to the
sender of the stream.
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_RtcOutboundRtpStreamStats stats) → RtcOutboundRtpStreamStats -
Creates RtcOutboundRtpStreamStats basing on the
ffi.RtcStatsType_RtcOutboundRtpStreamStats
received from the native side.override -
fromMap(
dynamic stats) → RtcOutboundRtpStreamStats -
Creates RtcOutboundRtpStreamStats basing on the Map received from the
native side.
override