How webrtc sets the number of ice connection attempts

We have a feature implemented in webrtc.
may encounter the problem of server downtime when connecting to a node server.
but you need to go through many attempts to know that the server node is not connected.
app has a configuration that allows you to set the number of attempts to connect to the ice service.
would like to ask whether there are similar configuration parameters on the
web side.
has not been found for a long time.
is there a boss to help solve the problem?
Thank you in advance

Apr.07,2021
Menu