TVOCallOptions Class Reference
Inherits from | NSObject |
---|---|
Declared in | TVOCallOptions.h |
delegateQueue
The queue where the Call and associated classes will invoke delegate methods.
@property (nonatomic, strong, readonly, nullable) dispatch_queue_t delegateQueue
Discussion
All delegate methods are performed on this queue. Any TVOCall
instance
which is created with these options will maintain a strong reference to the queue until
it is destroyed.
The default value of nil
indicates that the main dispatch queue will be used.
Declared In
TVOCallOptions.h
iceOptions
A custom ICE configuration used to connect to a Call.
@property (nonatomic, strong, readonly, nullable) TVOIceOptions *iceOptions
Declared In
TVOCallOptions.h
region
Defines the region (Twilio data center) used for media and signaling traffic.
@property (nonatomic, copy, readonly, nonnull) NSString *region
Discussion
The default region uses Global Low Latency routing, which establishes a connection with the closest region to the user.
Declared In
TVOCallOptions.h
preferredAudioCodecs
The collection of preferred audio codecs.
@property (nonatomic, copy, readonly, nonnull) NSArray<TVOAudioCodec*> *preferredAudioCodecs
Discussion
The list specifies which audio codecs will be preferred when negotiating audio between participants.
The preferences are applied in the order found in the list starting with the most preferred audio codec to the
least preferred audio codec. Audio codec preferences are not guaranteed to be satisfied because not all participants
are guaranteed to support all audio codecs. TVOOpusCodec
is the default audio codec if no preferences are set.
Declared In
TVOCallOptions.h
enableInsights
Specify reporting statistics to Insights.
@property (nonatomic, assign, readonly) BOOL enableInsights
Discussion
Sending stats data to Insights is enabled by default.
Declared In
TVOCallOptions.h
– init
Developers shouldn’t initialize this class directly.
- (null_unspecified instancetype)init
Discussion
Use the TVOConnectOptions
or TVOAcceptOptions
builder method instead.
Declared In
TVOCallOptions.h