Class PublisherKit.AudioTransformer

java.lang.Object
com.opentok.android.PublisherKit.AudioTransformer
Enclosing class:
PublisherKit

public class PublisherKit.AudioTransformer extends Object
A transformer for an audio stream.
  • Constructor Details

    • AudioTransformer

      public AudioTransformer(String name, String properties) throws Exception
      Creates an instance of a Vonage audio 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.

      Check additional information in the Transformers Package README.md file.

      Parameters:
      name - The name of the Vonage audio transformer.
      properties - A JSON string with the properties of the Vonage audio transformer.
      Throws:
      Exception
    • AudioTransformer

      public AudioTransformer(String name, PublisherKit.CustomAudioTransformer transformer)
      Creates an instance of a custom audio transformer.
      Parameters:
      name - The identifier for the transformer.
      transformer - The transformer.
  • 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