TVOIceOptions Class Reference

Inherits from NSObject
Declared in TVOIceOptions.h

Overview

TVOIceOptions specifies custom media connectivity configurations.

Media connections are established using the ICE (Interactive Connectivity Establishment) protocol. These options allow you to customize how data flows to and from participants, and which protocols to use. You may also provide your own ICE servers, overriding the defaults. https://www.twilio.com/stun-turn

  servers

An array of TVOIceServer objects to be used during connection establishment.

@property (nonatomic, copy, nonnull, readonly) NSArray<TVOIceServer*> *servers

Discussion

An array of TVOIceServer objects to be used during connection establishment.

Declared In

TVOIceOptions.h

  transportPolicy

The transport policy to use. Defaults to TVOIceTransportPolicyAll.

@property (nonatomic, assign, readonly) TVOIceTransportPolicy transportPolicy

Discussion

The transport policy to use. Defaults to TVOIceTransportPolicyAll.

Declared In

TVOIceOptions.h

+ options

Creates a default TVOIceOptions instance.

+ (_Null_unspecified instancetype)options

Return Value

An instance of TVOIceOptions.

Declared In

TVOIceOptions.h

+ optionsWithBlock:

Creates a TVOIceOptions instance using a builder block that you specify.

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

Parameters

block

A TVOIceOptionsBuilderBlock which sets specific options on the builder.

Return Value

A TVOIceOptions instance created using options set in the builder block.

Declared In

TVOIceOptions.h