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

consecutiveStatsWithNoAudioPacketsSent

consecutiveStatsWithNoAudioPacketsSent: number = 0

consecutiveStatsWithNoPackets

consecutiveStatsWithNoPackets: number = 0

cpuLimitationDuration

cpuLimitationDuration: number = 0

fractionPacketsLostInboundInLastMinute

fractionPacketsLostInboundInLastMinute: number[] = []

isVideoEncoderHardware

isVideoEncoderHardware: boolean = false

lastGoodSignalTimestampMs

lastGoodSignalTimestampMs: number = 0

lastNoSignalTimestampMs

lastNoSignalTimestampMs: number = 0

lastPacketLossInboundTimestampMs

lastPacketLossInboundTimestampMs: number = 0

lastWeakSignalTimestampMs

lastWeakSignalTimestampMs: number = 0

packetsReceivedInLastMinute

packetsReceivedInLastMinute: number[] = []

videoEncodeFps

videoEncodeFps: number = 0

videoEncodingTimeInMs

videoEncodingTimeInMs: number = 0

videoEncodingTimePerFrameInMs

videoEncodingTimePerFrameInMs: number = 0

videoInputFps

videoInputFps: number = 0

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

setConsecutiveStatsWithNoAudioPacketsSent

  • setConsecutiveStatsWithNoAudioPacketsSent(stats: number): void

setConsecutiveStatsWithNoPackets

  • setConsecutiveStatsWithNoPackets(stats: number): void

setCpuLimitationDuration

  • setCpuLimitationDuration(stats: number): void

setIsVideoEncoderHardware

  • setIsVideoEncoderHardware(isHardware: boolean): void

setLastGoodSignalTimestampMs

  • setLastGoodSignalTimestampMs(timeStamp: number): void

setLastNoSignalTimestampMs

  • setLastNoSignalTimestampMs(timeStamp: number): void

setLastPacketLossInboundTimestampMs

  • setLastPacketLossInboundTimestampMs(timeStamp: number): void

setLastWeakSignalTimestampMs

  • setLastWeakSignalTimestampMs(timeStamp: number): void

setVideoEncodeFps

  • setVideoEncodeFps(stats: number): void

setVideoEncodingTimeInMs

  • setVideoEncodingTimeInMs(stats: number): void

setVideoEncodingTimePerFrameInMs

  • setVideoEncodingTimePerFrameInMs(stats: number): void

setVideoInputFps

  • setVideoInputFps(stats: number): void

Generated using TypeDoc