TVIClientOptions Class Reference

Inherits from NSObject
Declared in TVIClientOptions.h

Overview

TVIClientOptions represents configuration for your TVIVideoClient.

TVIRoom instances created from TVIVideoClient will inherit these options.

  delegateQueue

The delegate queue provided when this object was created.

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

Discussion

All delegate methods except for TVIVideoViewRendererDelegate and TVICameraCaptureDelegate are performed on this queue. The TVIVideoClient, and any TVIRoom instances which are created from it will maintain strong references to this queue until they are destroyed.

Declared In

TVIClientOptions.h

+ options

Creates the default TVIClientOptions.

+ (nonnull instancetype)options

Return Value

An instance of TVIClientOptions.

Discussion

The main dispatch queue and default ice options will be used.

Declared In

TVIClientOptions.h

+ optionsWithBlock:

Creates TVIClientOptions with a user provided delegate queue, TVIIceOptions and TVICodecOptions.

+ (nonnull instancetype)optionsWithBlock:(nonnull TVIClientOptionsBuilderBlock)block

Parameters

block

The TVIClientOptionsBuilderBlock to use when constructing this instance.

Return Value

An instance of TVIClientOptions.

Declared In

TVIClientOptions.h