Defines a video transformation to be used in the Publisher.VideoTransformers array.
More...
Inherits IDisposable.
|
virtual void | Dispose (bool disposing) |
Defines a video transformation to be used in the Publisher.VideoTransformers array.
◆ VideoTransformer() [1/2]
OpenTok.VideoTransformer.VideoTransformer |
( |
string |
name, |
|
|
string |
properties |
|
) |
| |
Creates a video transformer from a Vonage Media Library transformer. For more information, see Using the Vonage Media Processor library.
- Parameters
-
name | The name of the Vonage Media Library transformer. Currently, only one transformer is supported: background blur. Set the name parameter to "BackgroundBlur". |
properties | The JSON string with the properties of the vonage transformer. For a background blur transformer, the format of the JSON is "{\"radius\":\"High\"}", where valid values for the radius property are "None", "High", and "Low". For a custom background blur transformer, the format of the JSON is "{\"radius":\"Custom\",\"custom_radius\":\"value\"}", where custom_radius can be any positive integer. |
◆ VideoTransformer() [2/2]
Creates a custom video transformer.
- Parameters
-
name | The unique identifier for the transformer. |
transformer | The object that includes a callback method to perform the transformation. |
◆ Dispose() [1/2]
virtual void OpenTok.VideoTransformer.Dispose |
( |
bool |
disposing | ) |
|
|
◆ Dispose() [2/2]
void OpenTok.VideoTransformer.Dispose |
( |
| ) |
|