OTVideoTransformer
Defines a transformer of a video stream.
Methods
| Name | Description |
|---|---|
initWithName:properties:(name, properties) → {id} |
Creates an instance of a Vonage video transformer. |
initWithName:transformer:(name, transformer) → {id} |
Creates an instance of a custom video transformer. |
initWithName:properties:(name, properties) → {id}
Creates an instance of a Vonage video 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 video transformer. |
Returns:
initWithName:transformer:(name, transformer) → {id}
Creates an instance of a custom video transformer.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
NSString * | The identifier for the transformer. |
transformer |
id<OTCustomVideoTransformer> | The transformer. |
Returns:
NULL if an error occurs.