TVOCallOptionsBuilder Class Reference

Inherits from NSObject
Declared in TVOCallOptions.h

Overview

TVOCallOptionsBuilder is a builder class for TVOCallOptions.

  delegateQueue

The queue where the Call and associated classes will invoke delegate methods.

@property (nonatomic, strong, 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, nullable) TVOIceOptions *iceOptions

Declared In

TVOCallOptions.h

  preferredAudioCodecs

The collection of preferred audio codecs.

@property (nonatomic, copy, 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

  enableDscp

Enables Differentiated Services Field Code Point (DSCP) with Expedited Forwarding (EF). https://tools.ietf.org/html/draft-ietf-tsvwg-rtcweb-qos-18#section-5

@property (nonatomic, assign) BOOL enableDscp

Discussion

DSCP is enabled by default.

Declared In

TVOCallOptions.h

– init

You should not initialize TVOCallOptionsBuilder directly, use a TVOCallOptionsBuilderBlock instead.

- (null_unspecified instancetype)init

Declared In

TVOCallOptions.h