Inherits from | NSObject |
---|---|
Declared in | OTPublisherKit.h |
– initWithName:properties:
Creates an instance of a Vonage video transformer. For more information, see Using the Vonage Media Processor library. Note: Media transformers are not supported on all devices or iOS versions — see this documentation.
- (nullable id)initWithName:(nonnull NSString *)name properties:(nonnull NSString *)properties
Parameters
name |
The name of the Vonage transformer. Currently, “BackgroundBlur” and “BackgroundReplacement” are supported. |
---|---|
properties |
A JSON string with the properties of the Vonage video transformer.
For a background blur transformer, the format of the JSON is
“{\"radius\”:\“None\”}“. Valid values for the |
Declared In
OTPublisherKit.h
– initWithName:transformer:
Creates an instance of a custom video transformer.
- (nullable id)initWithName:(nonnull NSString *)name transformer:(nonnull id<OTCustomVideoTransformer>)transformer
Parameters
name |
The identifier for the transformer. |
---|---|
transformer |
The transformer. |
Return Value
NULL if an error occurs.
Declared In
OTPublisherKit.h