Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionHealthPolicyConfiguration

Hierarchy

  • ConnectionHealthPolicyConfiguration

Index

Constructors

constructor

Properties

connectionUnhealthyThreshold

connectionUnhealthyThreshold: number = 25

connectionWaitTimeMs

connectionWaitTimeMs: number = 10000

cooldownTimeMs

cooldownTimeMs: number = 60000

fiveBarsTimeMs

fiveBarsTimeMs: number = 60000

fourBarsTimeMs

fourBarsTimeMs: number = 20000

fractionalLoss

fractionalLoss: number = 0.5

goodSignalTimeMs

goodSignalTimeMs: number = 15000

initialHealth

initialHealth: number = 1

maxHealth

maxHealth: number = 1

maximumAudioDelayDataPoints

maximumAudioDelayDataPoints: number = 10

maximumAudioDelayMs

maximumAudioDelayMs: number = 60000

maximumTimesToWarn

maximumTimesToWarn: number = 2

minHealth

minHealth: number = 0

missedPongsLowerThreshold

missedPongsLowerThreshold: number = 1

missedPongsUpperThreshold

missedPongsUpperThreshold: number = 4

noSignalThresholdTimeMs

noSignalThresholdTimeMs: number = 10000

oneBarWeakSignalTimeMs

oneBarWeakSignalTimeMs: number = 5000

packetsExpected

packetsExpected: number = 50

pastSamplesToConsider

pastSamplesToConsider: number = 15

sendingAudioFailureInitialWaitTimeMs

sendingAudioFailureInitialWaitTimeMs: number = 3000

The purpose of this field is to add a wait time/delay to our evaluation of sending audio health as the microphone may sometimes cause a delay in sending audio packets during the initial stages of a connection.

sendingAudioFailureSamplesToConsider

sendingAudioFailureSamplesToConsider: number = 2

The number of samples required to consider sending-audio to be unhealthy

The default value is derived from the median for time taken for receiving an attendee presence message from the server after joining. Attendee presence is only received when the client sends audio packets to the server, so this metric is used as a proxy.

threeBarsTimeMs

threeBarsTimeMs: number = 10000

twoBarsTimeMs

twoBarsTimeMs: number = 5000

zeroBarsNoSignalTimeMs

zeroBarsNoSignalTimeMs: number = 5000

Generated using TypeDoc