// This configuration example will use the default 15 seconds
// retry for initial connections, but limit the amount of time
// to spend retrying disconnects to only 30 seconds.
let customConnectionRetryConfig = {
autoRetryInitialConnection: true,
autoRetryOnDisconnect: true,
maxSecondsToSpendRetryingOnDisconnect: 30
}
let hifiCommunicator = new HighFidelityAudio.HiFiCommunicator({
connectionRetryAndTimeoutConfig: customConnectionRetryConfig
});