Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Sep 19, 2024
2 parents 4105227 + 38ebc94 commit 471a1b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/LiveKit/Types/Statistics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,8 @@ public class InboundRtpStreamStatistics: ReceivedRtpStreamStatistics {
public let retransmittedPacketsReceived: UInt64?
public let retransmittedBytesReceived: UInt64?

public let previous: InboundRtpStreamStatistics?
// Weak reference to previous stat so we can compare later.
public weak var previous: InboundRtpStreamStatistics?

init?(id: String,
timestamp: Double,
Expand Down Expand Up @@ -720,7 +721,8 @@ public class OutboundRtpStreamStatistics: SentRtpStreamStatistics {
public let active: Bool?
public let scalabilityMode: String?

public let previous: OutboundRtpStreamStatistics?
// Weak reference to previous stat so we can compare later.
public weak var previous: OutboundRtpStreamStatistics?

init?(id: String,
timestamp: Double,
Expand Down

0 comments on commit 471a1b3

Please sign in to comment.