TVOAudioOptions Class Reference

Inherits from NSObject
Declared in TVOAudioOptions.h

Overview

TVOAudioOptions specifies options for TVOLocalAudioTrack.

  noiseSuppression

Audio processing to filter out background noise. Defaults to NO. WebRTC relies on built-in iOS noise cancellation.

@property (nonatomic, assign, readonly) BOOL noiseSuppression

Declared In

TVOAudioOptions.h

  audioJitterBufferMinDelayMs

Audio receiver jitter buffer minimum target delay in milliseconds. Defaults to 0.

@property (nonatomic, assign, readonly) int audioJitterBufferMinDelayMs

Declared In

TVOAudioOptions.h

  audioJitterBufferMaxPackets

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

@property (nonatomic, assign, readonly) int audioJitterBufferMaxPackets

Declared In

TVOAudioOptions.h

  highpassFilter

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

@property (nonatomic, assign, readonly) BOOL highpassFilter

Declared In

TVOAudioOptions.h

+ optionsWithBlock:

Constructs TVOAudioOptions using the builder pattern.

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

Parameters

block

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

Return Value

An instance of TVOAudioOptions.

Declared In

TVOAudioOptions.h