Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReconnectController

ReconnectController describes the status about the meeting session connection and makes decisions based on the controller implementation.

Hierarchy

  • ReconnectController

Implemented by

Index

Methods

cancel

  • cancel(): void

clone

disableReconnect

  • disableReconnect(): void

enableRestartPeerConnection

  • enableRestartPeerConnection(): void

hasStartedConnectionAttempt

  • hasStartedConnectionAttempt(): boolean

isFirstConnection

  • isFirstConnection(): boolean

reset

  • reset(): void

retryWithBackoff

  • retryWithBackoff(retryFunc: () => void, cancelFunc: () => void): boolean
  • Decides whether to retry the retryFunc after some amount of backoff depending on the controller.

    Parameters

    • retryFunc: () => void
        • (): void
        • Returns void

    • cancelFunc: () => void
        • (): void
        • Returns void

    Returns boolean

    Whether the retry will be attempted

setLastActiveTimestampMs

  • setLastActiveTimestampMs(timestampMs: number): void

shouldOnlyRestartPeerConnection

  • shouldOnlyRestartPeerConnection(): boolean

startedConnectionAttempt

  • startedConnectionAttempt(isFirstConnection: boolean): void
  • Indicates that a connection attempt has started so that the reconnect deadline can be set.

    Parameters

    • isFirstConnection: boolean

      whether this is the first attempt to connect for this session

    Returns void

Generated using TypeDoc