Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionHealthData

Hierarchy

  • ConnectionHealthData

Index

Constructors

constructor

Properties

audioSpeakerDelayMs

audioSpeakerDelayMs: number = 0

connectionStartTimestampMs

connectionStartTimestampMs: number = 0

consecutiveMissedPongs

consecutiveMissedPongs: number = 0

consecutiveStatsWithNoPackets

consecutiveStatsWithNoPackets: number = 0

fractionPacketsLostInboundInLastMinute

fractionPacketsLostInboundInLastMinute: number[] = []

lastGoodSignalTimestampMs

lastGoodSignalTimestampMs: number = 0

lastNoSignalTimestampMs

lastNoSignalTimestampMs: number = 0

lastPacketLossInboundTimestampMs

lastPacketLossInboundTimestampMs: number = 0

lastWeakSignalTimestampMs

lastWeakSignalTimestampMs: number = 0

packetsReceivedInLastMinute

packetsReceivedInLastMinute: number[] = []

Methods

clone

isConnectionStartRecent

  • isConnectionStartRecent(recentDurationMs: number): boolean

isGoodSignalRecent

  • isGoodSignalRecent(recentDurationMs: number): boolean

isLastPacketLossRecent

  • isLastPacketLossRecent(recentDurationMs: number): boolean

isNoSignalRecent

  • isNoSignalRecent(recentDurationMs: number): boolean

isWeakSignalRecent

  • isWeakSignalRecent(recentDurationMs: number): boolean

reset

  • reset(): void

setAudioSpeakerDelayMs

  • setAudioSpeakerDelayMs(delayMs: number): void

setConnectionStartTime

  • setConnectionStartTime(): void

setConsecutiveMissedPongs

  • setConsecutiveMissedPongs(pongs: number): void

setConsecutiveStatsWithNoPackets

  • setConsecutiveStatsWithNoPackets(stats: number): void

setLastGoodSignalTimestampMs

  • setLastGoodSignalTimestampMs(timeStamp: number): void

setLastNoSignalTimestampMs

  • setLastNoSignalTimestampMs(timeStamp: number): void

setLastPacketLossInboundTimestampMs

  • setLastPacketLossInboundTimestampMs(timeStamp: number): void

setLastWeakSignalTimestampMs

  • setLastWeakSignalTimestampMs(timeStamp: number): void

Generated using TypeDoc