TVOIceOptionsBuilder
Objective-C
@interface TVOIceOptionsBuilder : NSObject
Swift
class TVOIceOptionsBuilder : NSObject
@brief TVOIceOptionsBuilder constructs TVOIceOptions.
@discussion 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 Call was created. For Client created Calls the default Call settings
are used, while settings are provided on a per-Call basis when creating Calls using the REST API.
-
@brief An array of
TVOIceServerobjects to be used during connection establishment.Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<TVOIceServer *> *servers;Swift
var servers: [TVOIceServer]? { get set } -
@brief The transport policy to use. Defaults to
TVOIceTransportPolicyAll.Declaration
Objective-C
@property (nonatomic) TVOIceTransportPolicy transportPolicy;Swift
var transportPolicy: TVOIceTransportPolicy { get set } -
Unavailable
Use a TVOIceOptionsBuilderBlock instead.
Undocumented
Declaration
Objective-C
- (null_unspecified instancetype)init __attribute__((unavailable("Use a TVOIceOptionsBuilderBlock instead.")));