com.opentok.android.PublisherKit.VideoTransformer
Enclosing class:
: PublisherKit
public class PublisherKit.VideoTransformer extends Object
A transformer for a video stream.
Constructor Summary
Constructors
Constructor
Description
VideoTransformer(String name, PublisherKit.CustomVideoTransformer transformer)
Creates an instance of a custom video transformer.
VideoTransformer(String name, String properties)
Creates an instance of a Vonage video transformer.
Method Summary
All MethodsInstance MethodsConcrete Methods
Modifier and Type
Method
Description
protected void
finalize()
Called by the garbage collector when it determines that there are no more references to the VideoTransformer object.
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Details
VideoTransformer
public VideoTransformer(String name, String properties)
Creates an instance of a Vonage video transformer.
Important: In version 2.27.2+ of the Vonage Video client SDK for Android, you need to add the Vonage Media Library separately from the Vonage Video Android SDK. For details, see Vonage Media Library integration. Check additional information in the Transformers Package README.md file.
Parameters:
: name - The name of the Vonage video transformer.
: properties - A JSON string with the properties of the Vonage video transformer.
VideoTransformer
public VideoTransformer(String name, PublisherKit.CustomVideoTransformer transformer)
Creates an instance of a custom video transformer.
Parameters:
: name - The identifier for the transformer.
: transformer - The video transformation.
Method Details
finalize
protected void finalize() throws Throwable
Called by the garbage collector when it determines that there are no more references to the VideoTransformer object.
Overrides:
: finalize in class Object
Throws:
: Throwable