Skip to content

Commit

Permalink
Revert "Fix stats chain (#487)"
Browse files Browse the repository at this point in the history
This reverts commit 38ebc94.
  • Loading branch information
hiroshihorie committed Sep 22, 2024
1 parent a6e6854 commit e4f089c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/LiveKit/Types/Statistics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,7 @@ public class InboundRtpStreamStatistics: ReceivedRtpStreamStatistics {
public let retransmittedPacketsReceived: UInt64?
public let retransmittedBytesReceived: UInt64?

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

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

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

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

0 comments on commit e4f089c

Please sign in to comment.