client-sdk-android icon indicating copy to clipboard operation
client-sdk-android copied to clipboard

Adjustable Reconnecting times and retries.

Open wissa-b opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe.

When the room tries to reconnect, it has a fixed amount of retries and a fixed reconnect retries. That causes users to be kicked outside of the room if they are in a bad network place for more than a minute MAX_RECONNECT_TIMEOUT then the user will be disconnected.

Describe the solution you'd like We would like to have a configuration to adjust the reconnect attempts count, or the reconnect attempt delay. For example on iOS sdk these are properties in the ConnectOptions class

Describe alternatives you've considered For example a solution would have been able to override these values in the RTCEngine companion object class.

        private const val MAX_RECONNECT_RETRIES = 10
        private const val MAX_RECONNECT_TIMEOUT = 60 * 1000
        private const val MAX_ICE_CONNECT_TIMEOUT_MS = 20000

wissa-b avatar Sep 26 '23 14:09 wissa-b

same problem

wzJun1 avatar Sep 28 '23 09:09 wzJun1

Please allow Reconnect Configuration options for Room.

kaushaldeepkiran avatar Aug 27 '24 14:08 kaushaldeepkiran