OTAudioTransformer

Defines a transformer of an audio stream.

Methods

Name Description
initWithName:properties:(name, properties) → {id} Creates an instance of a Vonage audio transformer.
initWithName:transformer:(name, transformer) → {id} Creates an instance of a custom audio transformer.

initWithName:properties:(name, properties) → {id}

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

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.

Parameters:
Name Type Description
name NSString * The name of the Vonage transformer.
properties NSString * A JSON string with the properties of the Vonage audio transformer.
Returns:

initWithName:transformer:(name, transformer) → {id}

Creates an instance of a custom audio transformer.

Parameters:
Name Type Description
name NSString * The identifier for the transformer.
transformer id<OTCustomAudioTransformer> The transformer.
Returns:

NULL if error occurs.