TVIIceOptionsBuilder Class Reference

Inherits from NSObject
Declared in TVIIceOptions.h


If you provide a transportPolicy but do not provide any ICE Servers, then the servers will automatically be fetched for you based upon how the Room was created. For Client created Rooms the default Room settings are used, while settings are provided on a per-Room basis when creating Rooms using the REST API.


An array of TVIIceServer objects to be used during connection establishment.

@property (nonatomic, strong, nullable) NSArray<TVIIceServer*> *servers

Declared In



The transport policy to use. Defaults to TVIIceTransportPolicyAll.

@property (nonatomic, assign) TVIIceTransportPolicy transportPolicy

Declared In



Whether to abort if ICE servers time out.

@property (nonatomic, assign) BOOL abortOnIceServersTimeout DEPRECATED_MSG_ATTRIBUTE ( "As of 3.5.0 this property is deprecated and setting it has no effect." )


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. Setting this property to true will instead abort with error 53500, “Unable to acquire configuration”. Defaults to ‘NO’.

Declared In