Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Unity SDK

Vivox Unity SDK

Vivox
​
​
Vivox Unity SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
    • Create voice and text channels
    • Messaging
    • Player management
      • Automatic connection recovery
        • Network reconnect failure
        • Partial connection failure
      • Muting
      • Block functions
    • Device management
    • Audio management
    • Mobile development
    • Text-to-speech
    • Speech-to-text
    • Real-time recording
    • Server-side-recording
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unity SDK documentation
  2. Vivox Unity Developer Guide
  3. Channels

Automatic connection recovery

Understand how automatic connection recovery works.
Read time 1 minute
Last updated 8 months ago

Note
Automatic connection recovery is supported on Android, iOS, macOS, and Windows.
The Vivox SDK provides automatic connection recovery to accommodate brief periods of network interruption. This connection recovery occurs without intervention from the application.
An application might temporarily lose internet connectivity when its user moves between internet connection points. For example, a disconnection could occur when a user is roaming between cellular networks or when a device switches between an LTE mobile data connection and a home wireless network connection.
If network connectivity is lost, the Vivox SDK attempts for up to 30 seconds to restore connectivity.
VivoxService.Instance.ConnectionRecovering
and
VivoxService.Instance.ConnectionRecovered
are events that can be subscribed to track when the connection is recognized as lost and recovery begins and when the connection is recovered. You can monitor these events to provide users with a display of their Vivox connection health.
A
VivoxService.Instance.ConnectionFailedToRecover
event will be fired if a session resume fails after the application attempts to reconnect to the network.
In the scenario where attempts at recovery have ultimately failed, you can use a minimal integration to alert the user of the reconnect failure, because user action is likely required to address any issues with their network connection health. A more in-depth integration might help with recovery from a partial disconnection from Vivox.
Note
If an additional system exists to reconnect users, you must allow the default Vivox system to finish attempting to recover before another system tries to recover the connection. If the Vivox attempts aren't completed it can result in a connection recovery loop.

Related pages

  • Network reconnect failure
  • Partial connection failure

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Related pages


Report a problem with this page