Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 775 Bytes

File metadata and controls

18 lines (10 loc) · 775 Bytes

Home > sip.js > SessionManagerOptions > reconnectionAttempts

SessionManagerOptions.reconnectionAttempts property

Maximum number of times to attempt to reconnection.

Signature:

reconnectionAttempts?: number;

Remarks

When the transport connection is lost (WebSocket disconnects), reconnection will be attempted immediately. If that fails, reconnection will be attempted again when the browser indicates the application has come online. See: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine