TVIAudioOptions Class Reference

Inherits from NSObject
Declared in TVIAudioOptions.h

Overview

TVIAudioOptions specifies options for TVILocalAudioTrack.

  audioJitterBufferMaxPackets

Audio receiver jitter buffer (NetEq) max capacity in number of packets. Defaults to 50.

@property (nonatomic, assign, readonly) int audioJitterBufferMaxPackets

Declared In

TVIAudioOptions.h

  audioJitterBufferFastAccelerate

Audio receiver jitter buffer (NetEq) fast accelerate mode. Defaults to NO.

@property (nonatomic, assign, readonly) BOOL audioJitterBufferFastAccelerate

Declared In

TVIAudioOptions.h

  highpassFilter

Audio processing to remove background noise of lower frequencies. Defaults to YES.

@property (nonatomic, assign, readonly) BOOL highpassFilter

Declared In

TVIAudioOptions.h

  levelControl

Enable audio level control. Defaults to NO.

@property (nonatomic, assign, readonly) BOOL levelControl

Declared In

TVIAudioOptions.h

  levelControlInitialPeakLevelDBFS

An optional initialization value for the level controller in order to compute the signal gain. The unit for the peak level is dBFS and the allowed range is -100..0. Defaults to -6.0206f.

@property (nonatomic, assign, readonly) CGFloat levelControlInitialPeakLevelDBFS

Declared In

TVIAudioOptions.h

+ options

Creates default options.

+ (null_unspecified instancetype)options

Return Value

An instance of TVIAudioOptions.

Declared In

TVIAudioOptions.h

+ optionsWithBlock:

Constructs TVIAudioOptions using the builder pattern.

+ (null_unspecified instancetype)optionsWithBlock:(nonnull TVIAudioOptionsBuilderBlock)block

Parameters

block

You can pass audio options to the builder using this block. The builder will construct a TVIAudioOptions object using the options provided.

Return Value

An instance of TVIAudioOptions.

Declared In

TVIAudioOptions.h