Default 15 seconds
Wed Jul 14 2021 22:55:31 GMT+0000 (Coordinated Universal Time)
Saved by
@surrealemily
// 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
});
content_copyCOPY
Comments