ReconnectController describes the status about the meeting session connection and makes decisions based on the controller implementation.
Cancels any pending retry and disables reconnect. The cancel function supplied to the retryWithBackoff will be called if there was a pending retry.
Clones the controller.
Disables reconnect until the controller is next reset.
Switches the reconnect controller into a mode where it will only restart the peer connection instead of restarting the session starting with the signaling connection.
Indicates whether a connection attempt is already in progress.
Indicates whether the current connection attempt was the first.
Resets the ReconnectController to its default state.
Decides whether to retry the retryFunc after some amount of backoff depending on the controller.
Whether the retry will be attempted
Sets the last active external timestamp in milliseconds.
Returns whether only the peer connection should be restarted at this time.
Whether only the peer connection should be restarted
Indicates that a connection attempt has started so that the reconnect deadline can be set.
whether this is the first attempt to connect for this session
Generated using TypeDoc