public static class IceOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IceOptions.Builder |
abortOnIceServersTimeout(boolean abortOnIceServersTimeout)
If fetching ICE servers times out (due to a restrictive network or a slow network proxy),
then, by default, the Video SDK will fallback to using hard-coded STUN servers and
continue connecting to the Room.
|
IceOptions |
build() |
IceOptions.Builder |
iceServers(Set<IceServer> iceServers)
Set of
IceServer objects to be used during connection establishment. |
IceOptions.Builder |
iceServersTimeout(long iceServersTimeout)
Time in milliseconds to attempt retrieving ICE servers before timing out.
|
IceOptions.Builder |
iceTransportPolicy(IceTransportPolicy iceTransportPolicy)
The transport policy to use.
|
public IceOptions.Builder iceServers(Set<IceServer> iceServers)
IceServer
objects to be used during connection establishment.public IceOptions.Builder iceTransportPolicy(IceTransportPolicy iceTransportPolicy)
IceTransportPolicy.ALL
.public IceOptions.Builder abortOnIceServersTimeout(boolean abortOnIceServersTimeout)
public IceOptions.Builder iceServersTimeout(long iceServersTimeout)
public IceOptions build()
4.4.0