OTAudioTransformer Class Reference

Inherits from NSObject
Declared in OTPublisherKit.h

Overview

Defines a transformer of an audio stream.

– initWithName:properties:

Creates an instance of a Vonage audio transformer. For more information, see Using the Vonage Media Processor library.

- (nullable id)initWithName:(nonnull NSString *)name properties:(nonnull NSString *)properties

Parameters

name

The name of the Vonage transformer.

properties

A JSON string with the properties of the Vonage audio transformer.

Discussion

Important: In version 2.27.4+ of the Vonage Video client SDK for iOS, you need to add the Vonage Media Library separately from the. Vonage Video iOS SDK. For details, see Vonage Media Library integration. Check additional information in the Vonage Media Library README.md file.

Note: Media transformers are not supported on all devices or iOS versions — see this documentation.

Declared In

OTPublisherKit.h

– initWithName:transformer:

Creates an instance of a custom audio transformer.

- (nullable id)initWithName:(nonnull NSString *)name transformer:(nonnull id<OTCustomAudioTransformer>)transformer

Parameters

name

The identifier for the transformer.

transformer

The transformer.

Return Value

NULL if error occurs.

Declared In

OTPublisherKit.h