TVOPreflightOptionsBuilder

Objective-C

@interface TVOPreflightOptionsBuilder : NSObject

Swift

class TVOPreflightOptionsBuilder : NSObject

TVOPreflightOptionsBuilder is a builder class for TVOPreflightOptions.

  • @brief The queue where the preflight test will invoke delegate methods.

    @discussion All delegate methods are performed on this queue. Any TVOPreflightTest 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.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) dispatch_queue_t delegateQueue;

    Swift

    var delegateQueue: dispatch_queue_t? { get set }
  • @brief A custom ICE configuration used to run a preflight test.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) TVOIceOptions *iceOptions;

    Swift

    var iceOptions: TVOIceOptions? { get set }
  • @brief The collection of preferred audio codecs.

    @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.

    Declaration

    Objective-C

    @property (nonatomic, copy, nonnull) NSArray<TVOAudioCodec *> *preferredAudioCodecs;

    Swift

    var preferredAudioCodecs: [TVOAudioCodec] { get set }
  • Unavailable

    Use the TVOPreflightOptionsBuilderBlock instead.

    @brief You should not initialize TVOPreflightOptionsBuilder directly, use a TVOPreflightOptionsBuilderBlock instead.

    Declaration

    Objective-C

    - (null_unspecified instancetype)init;