TVIAudioConstraints Class Reference

Inherits from NSObject
Declared in TVIAudioConstraints.h

Overview

TVIAudioConstraints specifies requirements for TVILocalAudioTrack.

  autoGainControl

Automatically applies gain so that voices are easier to understand. Defaults to NO.

@property (nonatomic, assign, readonly) BOOL autoGainControl

Discussion

Automatically applies gain so that voices are easier to understand. Defaults to NO.

Declared In

TVIAudioConstraints.h

  noiseReduction

Reduces background noise levels. Defaults to NO.

@property (nonatomic, assign, readonly) BOOL noiseReduction

Discussion

Reduces background noise levels. Defaults to NO.

Declared In

TVIAudioConstraints.h

+ constraints

Creates default constraints.

+ (null_unspecified instancetype)constraints

Return Value

An instance of TVILocalVideoTrack.

Declared In

TVIAudioConstraints.h

+ constraintsWithBlock:

Constructs TVIAudioConstraints using the builder pattern.

+ (null_unspecified instancetype)constraintsWithBlock:(nonnull TVIAudioConstraintsBuilderBlock)block

Parameters

block

You can pass audio constraints to the builder using this block. The builder will construct a TVIAudioConstraints object using the options that you passed.

Return Value

An instance of TVIAudioConstraints.

Declared In

TVIAudioConstraints.h